diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-08 21:34:58 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-08 21:34:58 (GMT) |
| commit | c1891e225e9b95e8484acfb2645e7ef1cf1dff7d (patch) | |
| tree | 9a3ce2080c7b4fc848aadc118382d166da8fda9a /Lib | |
| parent | c128718f309b144ebab5ed6e4ea91fe7badab25c (diff) | |
| download | cpython-c1891e225e9b95e8484acfb2645e7ef1cf1dff7d.zip cpython-c1891e225e9b95e8484acfb2645e7ef1cf1dff7d.tar.gz cpython-c1891e225e9b95e8484acfb2645e7ef1cf1dff7d.tar.bz2 | |
[3.13] gh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (gh-121517)
The change in gh-118157 (b2cd54a) should have also updated clear_singlephase_extension() but didn't. We fix that here. Note that clear_singlephase_extension() (AKA _PyImport_ClearExtension()) is only used in tests.
(cherry picked from commit 15d48aea02099ffc5bdc5511cc53ced460cb31b9, AKA gh-121503)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/test/test_import/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index 9932483..f9e8558 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -3053,13 +3053,6 @@ class SinglephaseInitTests(unittest.TestCase): def test_basic_multiple_interpreters_reset_each(self): # resetting between each interpreter - if Py_TRACE_REFS: - # It's a Py_TRACE_REFS build. - # This test breaks interpreter isolation a little, - # which causes problems on Py_TRACE_REF builds. - # See gh-121110. - raise unittest.SkipTest('crashes on Py_TRACE_REFS builds') - # At this point: # * alive in 0 interpreters # * module def may or may not be loaded already |
