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

* 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/test/test_ctypes/test_byteswap.py
Lib/test/test_ctypes/test_callbacks.py
Lib/test/test_ctypes/test_keeprefs.py
Lib/test/test_ctypes/test_numbers.py
Lib/test/test_ctypes/test_structures.py