Skip to content

Commit 3e51db4

Browse files
committed
Merge branch 'issue-133054' of https://github.com/sobolevn/cpython into issue-133054
2 parents ef86f8b + c92237a commit 3e51db4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,8 @@ def _run_repl(
124124
process.kill()
125125
exit_code = process.wait()
126126
output = "".join(output)
127-
if skip:
128-
if "can't use pyrepl" in output:
129-
self.skipTest("pyrepl not available")
127+
if skip and "can't use pyrepl" in output:
128+
self.skipTest("pyrepl not available")
130129
return output, exit_code
131130

132131

0 commit comments

Comments
 (0)