]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105751: Remove dead code in test_ctypes (#105817)
authorVictor Stinner <vstinner@python.org>
Thu, 15 Jun 2023 09:31:09 +0000 (11:31 +0200)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2023 09:31:09 +0000 (09:31 +0000)
commit0841ca7932987f30a2a23d39f3e6e141622d6fea
treed412ef81378f03d045b31d754e1ed45aae4c8e13
parentda911a6b226ca47cc15088d800b575e19a731f1c
gh-105751: Remove dead code in test_ctypes (#105817)

* Remove "except: print(tp); raise" debug code.
* Remove unused NoNullHandle() function.
* Remove commented code.
15 files changed:
Lib/test/test_ctypes/test_as_parameter.py
Lib/test/test_ctypes/test_bitfields.py
Lib/test/test_ctypes/test_callbacks.py
Lib/test/test_ctypes/test_find.py
Lib/test/test_ctypes/test_funcptr.py
Lib/test/test_ctypes/test_functions.py
Lib/test/test_ctypes/test_internals.py
Lib/test/test_ctypes/test_keeprefs.py
Lib/test/test_ctypes/test_numbers.py
Lib/test/test_ctypes/test_parameters.py
Lib/test/test_ctypes/test_pep3118.py
Lib/test/test_ctypes/test_pointers.py
Lib/test/test_ctypes/test_refcounts.py
Lib/test/test_ctypes/test_strings.py
Lib/test/test_ctypes/test_structures.py