Skip to content

Commit e357efc

Browse files
committed
Bring back uncolorization decorator (hypothesis failures)
1 parent 8d37d53 commit e357efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
cpython_only,
1414
has_subprocess_support,
1515
os_helper,
16-
subTests,
1716
SuppressCrashReport,
1817
SHORT_TIMEOUT,
1918
)
@@ -462,7 +461,8 @@ def test_quiet_mode(self):
462461
self.assertEqual(p.returncode, 0)
463462
self.assertEqual(output[:3], ">>>")
464463

465-
@subTests(
464+
@support.force_not_colorized
465+
@support.subTests(
466466
("startup_code", "expected_error"),
467467
[
468468
("some invalid syntax\n", "SyntaxError: invalid syntax"),

0 commit comments

Comments
 (0)