Skip to content

Commit 1656dfb

Browse files
authored
Use @force_not_colorized in test_syntactical_future_repl (#152749)
1 parent 0842ec5 commit 1656dfb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_future_stmt/test_future.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import __future__
44
import ast
55
import unittest
6-
from test.support import import_helper
6+
from test.support import force_not_colorized, import_helper
77
from test.support.script_helper import spawn_python, kill_python
88
from textwrap import dedent
99
import os
@@ -176,6 +176,7 @@ def test_unicode_literals_exec(self):
176176
exec("from __future__ import unicode_literals; x = ''", {}, scope)
177177
self.assertIsInstance(scope["x"], str)
178178

179+
@force_not_colorized
179180
def test_syntactical_future_repl(self):
180181
p = spawn_python('-i')
181182
p.stdin.write(b"from __future__ import barry_as_FLUFL\n")

0 commit comments

Comments
 (0)