diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-20 21:35:26 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-20 21:35:26 +0000 |
commit | ee8712cda46338d223509cc5751fd36509ad3860 (patch) | |
tree | bb9d363b4276566415457980472001c7e3ec2bed /Lib/test/test_print.py | |
parent | 6a654814ea3f3a918935762ffdcd33ae98e00278 (diff) | |
download | cpython-git-ee8712cda46338d223509cc5751fd36509ad3860.tar.gz |
#2621 rename test.test_support to test.support
Diffstat (limited to 'Lib/test/test_print.py')
-rw-r--r-- | Lib/test/test_print.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_print.py b/Lib/test/test_print.py index 58ca06988a..f157bc7db6 100644 --- a/Lib/test/test_print.py +++ b/Lib/test/test_print.py @@ -6,7 +6,7 @@ from __future__ import print_function import unittest -from test import test_support +from test import support import sys try: @@ -62,7 +62,7 @@ class TestPrint(unittest.TestCase): end is not NotDefined, file is not NotDefined)] - with test_support.captured_stdout() as t: + with support.captured_stdout() as t: fn(args, sep, end, file) self.assertEqual(t.getvalue(), expected) @@ -113,7 +113,7 @@ class TestPrint(unittest.TestCase): self.assertRaises(AttributeError, print, '', file='') def test_main(): - test_support.run_unittest(TestPrint) + support.run_unittest(TestPrint) if __name__ == "__main__": test_main() |