summaryrefslogtreecommitdiff
path: root/Lib/test/test_print.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 +0000
committerBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 +0000
commit191bb1a4e6297cc84aa247fb3039fca3defcb03a (patch)
treea173e04b260943dcad3348a95f52ce4ee10f9886 /Lib/test/test_print.py
parent8c10100984e3a1f6c753345a552369a902c8d78f (diff)
downloadcpython-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.py6
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()