]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-108303: Add Lib/test/test_cppext/ sub-directory (#108325) (#108336)
authorVictor Stinner <vstinner@python.org>
Wed, 23 Aug 2023 03:11:53 +0000 (05:11 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2023 03:11:53 +0000 (05:11 +0200)
commita15396146f8b4f7196e858eba577730f66ac3fb6
tree66f2388927b903d42cb0c9644c8b42e1bf9c5d01
parent12cad6155bb1291b4b6c111ef480bbc0e6a68941
[3.11] gh-108303: Add Lib/test/test_cppext/ sub-directory (#108325) (#108336)

gh-108303: Add Lib/test/test_cppext/ sub-directory (#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)
Lib/test/test_cppext/__init__.py [moved from Lib/test/test_cppext.py with 95% 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