Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0ce607

Browse files
For now, skip the tests during refleak detection.
1 parent 3e2a1dd commit f0ce607

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_imp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,9 @@ class SinglephaseInitTests(unittest.TestCase):
665665

666666
@classmethod
667667
def setUpClass(cls):
668+
if '-R' in sys.argv or '--huntrleaks' in sys.argv:
669+
# https://github.com/python/cpython/issues/102251
670+
raise unittest.SkipTest('unresolved refleaks (see gh-102251)')
668671
fileobj, filename, _ = imp.find_module(cls.NAME)
669672
fileobj.close()
670673
cls.FILE = filename

0 commit comments

Comments
 (0)