Mitchell Stokes
893f5ce492
Fix assert on Py_SIZE(long) when using Python 3.12
...
Starting with Python 3.12, passing a PyLong into Py_SIZE() triggers an
assertion. PyLong (and the whole C API) is transitioning to be more
opaque and expose fewer implementation details.
2023-10-13 10:54:33 +02:00
rdb
3a5201fd65
tests: Add tests for pickling DoubleBitMask
2021-01-01 17:08:34 +01:00
rdb
93900a203e
putil: Backport part of 9d8c523dfa
...
Fixes #886
2020-11-17 23:36:06 +01:00
rdb
a9b158192f
putil: fix crash in BitArray::has_any_of()
2020-06-14 12:55:52 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00
rdb
61a276f49a
tests: add some ModifierButtons unit tests
2019-08-28 11:04:20 +02:00
rdb
6464327e6f
tests: add more thorough unit test for SparseArray::clear_range
2019-04-14 17:59:55 +02:00
Epihaius
83723d38a5
tests: Create test_sparsearray.py
...
Closes #590
2019-04-14 17:59:29 +02:00
rdb
a90159271b
tests: remove unused fixture from Datagram tests
2018-08-26 14:02:52 +02:00
rdb
4f9a2aca85
tests: fix issues with temp files without correct case on Windows
2018-08-20 16:56:45 +02:00
rdb
b1d2111037
express: add Datagram add_blob and add_blob32, et al.
...
This is for writing Python 2/3 agnostic code for writing binary data to a datagram, and reading from it using DatagramIterator.
2018-08-19 16:01:39 +02:00
rdb
4f55e26e61
tests: add tests for BitMask*.is_all_on()
2018-05-30 23:06:47 +02:00
rdb
8d84c58d73
express: explicitly declare defaulted Datagram copy/move ctor/assign
...
Fixes #329
2018-05-27 15:38:19 +02:00
Sam Edwards
339e1ce4d8
tests: Update the datagram tests
2018-05-26 18:36:46 -06:00
rdb
ddc45e3529
tests: fix broken test case, add more WeakNodePath comparisons
2018-05-24 22:25:20 +02:00
rdb
ae8e9d159d
tests: add some unit tests for UpdateSeq
2018-05-24 21:39:05 +02:00
rdb
22f933a419
tests: disable datagram bytes() test on Python 2
...
See #297
2018-04-06 20:34:48 +02:00
rdb
b4d29e6096
express: allow using bytes() on Datagram
...
Closes : #297
2018-04-06 17:42:59 +02:00
Sam Edwards
89be2c19af
tests: Add tests for Datagram{,Iterator,InputFile,OutputFile}
...
This also includes a test for my previous commit which changes
DatagramInputFile::get_datagram().
2018-02-23 03:08:01 -07:00