summaryrefslogtreecommitdiff
path: root/tests/basics/array_add.py
AgeCommit message (Collapse)Author
2025-06-10py/objarray: Allow extending array with any iterable.Jeff Epler
As suggested by @dpgeorge, factor out part of array_construct to allow it to be used for construction & extension. Note that extending with a known-length list (or tuple) goes through the slow path of calling array_extend once per element. Fixes issue #7408. Signed-off-by: Jeff Epler <jepler@gmail.com>
2023-06-08tests: Replace umodule with module everywhere.Jim Mussared
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2019-10-22tests: Rename "array" module to "uarray".Damien George
2017-06-10tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-01-07tests/array*: Allow to skip test if "array" is unavailable.Paul Sokolovsky
2014-11-30py: Implement +, += and .extend for bytearray and array objs.Damien George
Addresses issue #994.