Visitar URL original
gh-101758: Fix Refleak Testing With test_singlephase_variants by ericsnowcurrently · Pull Request #101969 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Temporarily skip the tests.
  • Loading branch information
ericsnowcurrently committed Feb 16, 2023
commit 0d98bdee3af815232fa53cafbc6e654ae24a8a15
2 changes: 2 additions & 0 deletions Lib/test/test_imp.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ def test_issue16421_multiple_modules_in_one_dll(self):
with self.assertRaises(ImportError):
imp.load_dynamic('nonexistent', pathname)

@unittest.skip('known refleak (temporarily skipping)')
@requires_load_dynamic
def test_singlephase_multiple_interpreters(self):
# Currently, for every single-phrase init module loaded
Expand Down Expand Up @@ -319,6 +320,7 @@ def clean_up():
# However, globals are still shared.
_interpreters.run_string(interp2, script % 2)

@unittest.skip('known refleak (temporarily skipping)')
@requires_load_dynamic
def test_singlephase_variants(self):
# Exercise the most meaningful variants described in Python/import.c.
Expand Down