Skip to content

Commit

Permalink
remove the sys.argv trick
Browse files Browse the repository at this point in the history
  • Loading branch information
sunmy2019 committed May 23, 2023
1 parent db000e8 commit e6bc99c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1980,10 +1980,6 @@ class SinglephaseInitTests(unittest.TestCase):

@classmethod
def setUpClass(cls):
if '-R' in sys.argv or '--huntrleaks' in sys.argv:
# https://github.com/python/cpython/issues/102251
raise unittest.SkipTest('unresolved refleaks (see gh-102251)')

spec = importlib.util.find_spec(cls.NAME)
from importlib.machinery import ExtensionFileLoader
cls.FILE = spec.origin
Expand Down

0 comments on commit e6bc99c

Please sign in to comment.