]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105751, test_ctypes: Remove disabled tests (GH-105826) (#107484)
authorŁukasz Langa <lukasz@langa.pl>
Mon, 31 Jul 2023 08:28:45 +0000 (08:28 +0000)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 08:28:45 +0000 (10:28 +0200)
commitaa5f2b1f3cdb5f71f5210d4578d5c68b6dd5e255
tree1ee4320fcad6293ab7ad8e8b46ca773b0989c56f
parented5be956ee20b6a7993bf8477e11d35498794887
[3.11] gh-105751, test_ctypes: Remove disabled tests (GH-105826) (#107484)

* The following tests were disabled since the initial ctypes commit
  in 2006, commit babddfca758abe34ff12023f63b18d745fae7ca9:

  * Callbacks.test_char_p()
  * DeletePointerTestCase.test_X()
  * NumberTestCase.test_perf()
  * StructureTestCase.test_subclass_creation()
  * Tests.test_X() of test_byteswap

* NumberTestCase.test_bool_from_address() was disabled in 2007 by
  commit 5dc4fe09b7648f9801558e766b21a3d3b2dcad3b.
* Remove check_perf() and run_test() of test_numbers.
(cherry picked from commit 8f10140e74d141a0a894702044e213e6f0690d9c)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/ctypes/test/test_byteswap.py
Lib/ctypes/test/test_callbacks.py
Lib/ctypes/test/test_keeprefs.py
Lib/ctypes/test/test_numbers.py
Lib/ctypes/test/test_structures.py