Skip to content

Commit 2a8ea76

Browse files
committed
Fix the fix
1 parent 0448edd commit 2a8ea76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import sys
1010
import tempfile
1111
from pkgutil import ModuleInfo
12-
from unittest import TestCase, skipUnless, skipIf
12+
from unittest import TestCase, skipUnless, skipIf, SkipTest
1313
from unittest.mock import patch
1414
from test.support import force_not_colorized, make_clean_env, Py_DEBUG
1515
from test.support import has_subprocess_support, SHORT_TIMEOUT, STDLIB_DIR
@@ -40,7 +40,7 @@
4040
class ReplTestCase(TestCase):
4141
def setUp(self):
4242
if not has_subprocess_support:
43-
raise unittest.SkipTest("test module requires subprocess")
43+
raise SkipTest("test module requires subprocess")
4444

4545
def run_repl(
4646
self,

0 commit comments

Comments
 (0)