commit | 91621dbcbe2891c50e5ade04310eb164f9da17f4 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Jun 12 20:10:01 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Jun 12 20:10:01 2001 +0000 |
tree | 644381a0ea8c56d882bd97172cc473e72cc024cc | |
parent | 8bc84b4391583b1bac5eb05556f20ead8a428e88 [diff] |
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.