]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-108303: Add Lib/test/test_cppext/ sub-directory (GH-108325) (#108328)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 22 Aug 2023 20:06:33 +0000 (13:06 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Aug 2023 20:06:33 +0000 (22:06 +0200)
commitb539dd3073f9e37de25f73ad19d188cd56cc19b4
tree9d37f050c2092df66a694e1ad2968c340cbcdc79
parentca47a2183a35d4b71cc062c926b7f96112fdf5ce
[3.12] gh-108303: Add Lib/test/test_cppext/ sub-directory (GH-108325) (#108328)

gh-108303: Add Lib/test/test_cppext/ sub-directory (GH-108325)

* Move test_cppext to its own directory
* Rename setup_testcppext.py to setup.py
* Rename _testcppext.cpp to extension.cpp
* The source (extension.cpp) is now also copied by the test.
(cherry picked from commit 21dda09600848ac280481f7c64f8d9516dc69bb2)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_cppext/__init__.py [moved from Lib/test/test_cppext.py with 91% similarity]
Lib/test/test_cppext/extension.cpp [moved from Lib/test/_testcppext.cpp with 99% similarity]
Lib/test/test_cppext/setup.py [moved from Lib/test/setup_testcppext.py with 93% similarity]
Makefile.pre.in