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 | 191bb1a4e6297cc84aa247fb3039fca3defcb03a (patch) | |
tree | a173e04b260943dcad3348a95f52ce4ee10f9886 /Lib/test/test_print.py | |
parent | 8c10100984e3a1f6c753345a552369a902c8d78f (diff) | |
download | cpython-191bb1a4e6297cc84aa247fb3039fca3defcb03a.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() |