We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f565c2 commit 9ebb6a2Copy full SHA for 9ebb6a2
2 files changed
Lib/test/support/__init__.py
@@ -3024,7 +3024,7 @@ def force_color(color: bool):
3024
3025
if color:
3026
try:
3027
- import _pyrepl
+ import _pyrepl # noqa: F401
3028
except ModuleNotFoundError:
3029
# Can't force enable color without _pyrepl, so just skip.
3030
raise unittest.SkipTest("_pyrepl is missing")
Lib/test/test_repl.py
@@ -427,7 +427,7 @@ def test_toplevel_contextvars_async(self):
427
p.stdin.write(user_input)
428
user_input2 = "async def set_var(): var.set('ok')\n"
429
430
431
432
# If we're going to be forced into the regular REPL, then we need an
433
# extra newline here. Omit it by default to catch any breakage to
0 commit comments