summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-23 05:03:59 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-23 05:03:59 (GMT)
commit2ee0e8eaec7f6e87664c2c9297633623cbd28868 (patch)
treecf9b7d1f858bcaf09e4b10769cfe2359283a3ab9 /Lib/test
parent778d5cc4fb938a37383373ff27457831bc6aea63 (diff)
downloadcpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.zip
cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.gz
cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.bz2
Revert the renaming of repr to reprlib.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test___all__.py2
-rw-r--r--Lib/test/test_py3kwarn.py2
-rw-r--r--Lib/test/test_repr.py (renamed from Lib/test/test_reprlib.py)4
3 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 466d921..846a2f6 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -123,7 +123,7 @@ class AllTest(unittest.TestCase):
self.check_all("quopri")
self.check_all("random")
self.check_all("re")
- self.check_all("reprlib")
+ self.check_all("repr")
self.check_all("rexec")
self.check_all("rfc822")
self.check_all("rlcompleter")
diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py
index ece38ec..b12d14d 100644
--- a/Lib/test/test_py3kwarn.py
+++ b/Lib/test/test_py3kwarn.py
@@ -218,7 +218,7 @@ class TestStdlibRenames(unittest.TestCase):
renames = {'Queue': 'queue',
'SocketServer': 'socketserver',
'ConfigParser': 'configparser',
- 'repr': 'reprlib'}
+ }
def check_rename(self, module_name, new_module_name):
"""Make sure that:
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_repr.py
index 50f728c..1094816 100644
--- a/Lib/test/test_reprlib.py
+++ b/Lib/test/test_repr.py
@@ -9,8 +9,8 @@ import shutil
import unittest
from test.test_support import run_unittest
-from reprlib import repr as r # Don't shadow builtin repr
-from reprlib import Repr
+from repr import repr as r # Don't shadow builtin repr
+from repr import Repr
def nestedTuple(nesting):