There was an error while loading. Please reload this page.
@force_not_colorized
test_syntactical_future_repl
1 parent 0842ec5 commit 1656dfbCopy full SHA for 1656dfb
1 file changed
Lib/test/test_future_stmt/test_future.py
@@ -3,7 +3,7 @@
3
import __future__
4
import ast
5
import unittest
6
-from test.support import import_helper
+from test.support import force_not_colorized, import_helper
7
from test.support.script_helper import spawn_python, kill_python
8
from textwrap import dedent
9
import os
@@ -176,6 +176,7 @@ def test_unicode_literals_exec(self):
176
exec("from __future__ import unicode_literals; x = ''", {}, scope)
177
self.assertIsInstance(scope["x"], str)
178
179
+ @force_not_colorized
180
def test_syntactical_future_repl(self):
181
p = spawn_python('-i')
182
p.stdin.write(b"from __future__ import barry_as_FLUFL\n")
0 commit comments