]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
The merest start of a test for the PyLong_{As,From}{Unsigned,}LongLong()
authorTim Peters <tim.peters@gmail.com>
Tue, 12 Jun 2001 20:10:01 +0000 (20:10 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 12 Jun 2001 20:10:01 +0000 (20:10 +0000)
commit91621dbcbe2891c50e5ade04310eb164f9da17f4
tree644381a0ea8c56d882bd97172cc473e72cc024cc
parent8bc84b4391583b1bac5eb05556f20ead8a428e88
The merest start of a test for the PyLong_{As,From}{Unsigned,}LongLong()
functions.  I intend to replace their guts with calls to the new
_PyLong_{As,From}ByteArray() functions, but AFAICT there's no tests for
them at all now; I also suspect PyLong_AsLongLong() isn't catching all
overflow cases, but without a std test to demonstrate that why should you
believe me <wink>.

Also added a raiseTestError() utility function.
Modules/_testcapimodule.c