Skip to content

Commit 688129b

Browse files
lysnikolaoupablogsal
authored andcommitted
Update Lib/test/test_pyrepl/test_pyrepl.py
1 parent c95c035 commit 688129b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import importlib
21
import io
32
import itertools
43
import os
@@ -848,6 +847,8 @@ def test_exposed_globals_in_repl(self):
848847
"\'__name__\', \'__package__\', \'__spec__\']"
849848
)
850849
output, exit_code = self.run_repl(["sorted(dir())", "exit"])
850+
if "can\'t use pyrepl" in output:
851+
self.skipTest("pyrepl not available")
851852
self.assertEqual(exit_code, 0)
852853
self.assertIn(expected_output, output)
853854

0 commit comments

Comments
 (0)