cpython/Lib/ctypes/test
Victor Stinner 884d13a55f time.clock() now emits a DeprecationWarning (GH-4020)
bpo-31803: time.clock() and time.get_clock_info('clock') now emit a
DeprecationWarning warning.

Replace time.clock() with time.perf_counter() in tests and demos.

Remove also hasattr(time, 'monotonic') in test_time since time.monotonic()
is now always available since Python 3.5.
2017-10-17 14:46:45 -07:00
..
__init__.py Issue #22060: Clean up/simplify test_ctypes, use test discovery 2014-08-08 13:32:16 -05:00
__main__.py Issue #22060: Clean up/simplify test_ctypes, use test discovery 2014-08-08 13:32:16 -05:00
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 Issue #19023: Document ctypes array and pointer classes 2016-01-29 10:12:19 +00:00
test_as_parameter.py bpo-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559) 2017-06-07 18:42:24 +01: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 Issue #22161: Conformed arguments type checks in ctype to actually supported 2014-08-09 09:33:05 +03:00
test_bytes.py Issue #22161: Conformed arguments type checks in ctype to actually supported 2014-08-09 09:33:05 +03:00
test_byteswap.py Issue #22098: ctypes' BigEndianStructure and LittleEndianStructure now define an empty __slots__ so that subclasses don't always get an instance dict. 2014-08-30 00:37:18 +02:00
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 Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
test_cfuncs.py Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
test_checkretval.py Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
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 Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
test_incomplete.py
test_init.py
test_internals.py Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
test_keeprefs.py Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
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 Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
test_memfunctions.py Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
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-10746: Fix ctypes PEP 3118 type codes for c_long, c_bool, c_int (#31) 2017-08-28 14:08:49 +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 Issue #22060: Clean up/simplify test_ctypes, use test discovery 2014-08-08 13:32:16 -05:00
test_random_things.py Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
test_refcounts.py Issue #19591: Use specific asserts in ctype tests. 2013-11-16 23:51:26 +02:00
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-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559) 2017-06-07 18:42:24 +01:00
test_unaligned_structures.py
test_unicode.py Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00
test_values.py Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. 2016-05-24 09:15:14 +03:00
test_varsize_struct.py
test_win32.py bpo-30125: disable faulthandler in ctypes test_SEH (#1237) 2017-04-22 00:31:13 +02:00
test_wintypes.py Issue #19493: Refactor ctypes test package. 2014-06-13 13:44:39 -05:00