cpython/Lib/test/test_capi
Nybblista f3bf304c27
gh-131357: Add a set of asserts to test.test_capi.test_bytearray (#131554)
add a set of asserts to test.test_capi.test_bytearray

1. Assert empty bytearray object for PyByteArray_Check.
2. Assert empty bytearray object for PyByteArray_CheckExact.
3. Assert 0-size bytearray object for PyByteArray_Size.
4. Assert empty bytearray object for PyByteArray_AsString.
5. Assert concatenation of the bytearray object with itself for PyByteArray_Concat.
2025-03-23 10:20:40 +03:00
..
__init__.py
__main__.py
check_config.py
test_abstract.py gh-130947: Add again PySequence_Fast() to the limited C API (#130948) 2025-03-13 13:00:57 +01:00
test_bytearray.py gh-131357: Add a set of asserts to test.test_capi.test_bytearray (#131554) 2025-03-23 10:20:40 +03:00
test_bytes.py gh-131339: test PyBytes_Size for a zero-size bytes object (#131340) 2025-03-17 11:38:37 +03:00
test_codecs.py
test_complex.py
test_config.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_dict.py
test_eval.py
test_eval_code_ex.py
test_exceptions.py gh-117174: Add a new route in linecache to fetch interactive source code (#117500) 2025-03-10 21:54:05 +00:00
test_file.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_float.py
test_frame.py
test_function.py
test_getargs.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_hash.py
test_immortal.py
test_import.py
test_list.py gh-131441: Add a set of asserts to test.test_capi.test_list (#131442) 2025-03-20 10:12:15 +00:00
test_long.py gh-129149: Add fast path for medium-sized integers in PyLong_FromSsize_t() (#129301) 2025-03-13 12:06:56 +01:00
test_mem.py
test_misc.py gh-117657: Skip some tests when running with TSAN (gh-131555) 2025-03-21 15:16:08 -04:00
test_number.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_object.py gh-130519: Fix crash in QSBR when destructor reenters QSBR (gh-130553) 2025-02-26 14:55:15 -05:00
test_opt.py GH-130415: Optimize constant comparison in JIT builds (GH-131489) 2025-03-21 11:23:12 -07:00
test_pyatomic.py
test_run.py
test_set.py
test_structmembers.py
test_sys.py
test_time.py
test_tuple.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_type.py
test_unicode.py
test_watchers.py