cpython/Lib/ctypes/test
Tal Einat 2447773573
bpo-29843: raise AttributeError if given negative _length_ (GH-10029)
Raise ValueError OverflowError in case of a negative
_length_ in a ctypes.Array subclass.  Also raise TypeError
instead of AttributeError for non-integer _length_.


Co-authored-by: Oren Milman <orenmn@gmail.com>
2018-10-22 18:33:10 +03:00
..
__init__.py
__main__.py
test_anon.py bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ attr is defined only outside _fields_. (#3615) 2017-09-17 13:45:38 +03:00
test_array_in_pointer.py
test_arrays.py bpo-29843: raise AttributeError if given negative _length_ (GH-10029) 2018-10-22 18:33:10 +03:00
test_as_parameter.py Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191) 2018-07-09 18:25:55 +03:00
test_bitfields.py Issue #27355: Removed support for Windows CE. It was never finished, 2016-09-05 15:11:23 -07:00
test_buffers.py
test_bytes.py
test_byteswap.py
test_callbacks.py Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) 2017-02-20 00:16:33 +00:00
test_cast.py bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (GH-3859) 2018-05-09 14:38:56 -07:00
test_cfuncs.py
test_checkretval.py
test_delattr.py
test_errno.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_find.py Merge test cleanup from 3.5 into 3.6 2016-09-29 04:40:56 +00:00
test_frombuffer.py bpo-28129: fix ctypes crashes (#386) 2017-03-02 18:42:40 +01:00
test_funcptr.py bpo-28129: fix ctypes crashes (#386) 2017-03-02 18:42:40 +01:00
test_functions.py
test_incomplete.py
test_init.py
test_internals.py
test_keeprefs.py
test_libc.py
test_loading.py [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
test_macholib.py
test_memfunctions.py
test_numbers.py time.clock() now emits a DeprecationWarning (GH-4020) 2017-10-17 14:46:45 -07:00
test_objects.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_parameters.py bpo-31311: Fix a SystemError and a crash in ctypes._CData.__setstate__(), in case of a bad __dict__. (#3254) 2017-09-25 11:09:11 +03:00
test_pep3118.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_pickling.py Issue #22777: Test pickling with all protocols. 2014-12-15 14:03:42 +02:00
test_pointers.py bpo-28129: fix ctypes crashes (#386) 2017-03-02 18:42:40 +01:00
test_prototypes.py #22732 ctypes tests don't set correct restype for intptr_t functions 2014-11-01 15:14:27 -07:00
test_python_api.py
test_random_things.py Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
test_refcounts.py
test_repr.py
test_returnfuncptrs.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_simplesubclasses.py
test_sizes.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_slicing.py bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (#2285) 2017-06-27 16:03:14 +03:00
test_stringptr.py
test_strings.py time.clock() now emits a DeprecationWarning (GH-4020) 2017-10-17 14:46:45 -07:00
test_struct_fields.py bpo-28129: fix ctypes crashes (#386) 2017-03-02 18:42:40 +01:00
test_structures.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_unaligned_structures.py
test_unicode.py
test_values.py bpo-25711: Rewrite zipimport in pure Python. (GH-6809) 2018-09-18 22:22:29 +03:00
test_varsize_struct.py
test_win32.py Use assertEqual() instead of assertEquals(). (GH-9721) 2018-10-05 21:09:56 +03:00
test_wintypes.py