aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_future5.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_future5.py')
-rw-r--r--Lib/test/test_future5.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_future5.py b/Lib/test/test_future5.py
index 4984070c47b..ed03a07037a 100644
--- a/Lib/test/test_future5.py
+++ b/Lib/test/test_future5.py
@@ -3,19 +3,19 @@ from __future__ import unicode_literals, print_function
import sys
import unittest
-from . import test_support
+from test import support
class TestMultipleFeatures(unittest.TestCase):
def test_unicode_literals(self):
- self.assertIsInstance("", unicode)
+ self.assertIsInstance("", str)
def test_print_function(self):
- with test_support.captured_output("stderr") as s:
+ with support.captured_output("stderr") as s:
print("foo", file=sys.stderr)
self.assertEqual(s.getvalue(), "foo\n")
def test_main():
- test_support.run_unittest(TestMultipleFeatures)
+ support.run_unittest(TestMultipleFeatures)