summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-01-17 15:07:00 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-01-17 15:07:00 (GMT)
commitd2ebe8775e03c90539bc820c275d18a413c36a18 (patch)
tree1c631e0ae6f98c9efcb82d5adcd994c0aaefa7ff /Lib
parent31c69431e6fc093d86f556203d80701262e0e3ae (diff)
downloadcpython-d2ebe8775e03c90539bc820c275d18a413c36a18.zip
cpython-d2ebe8775e03c90539bc820c275d18a413c36a18.tar.gz
cpython-d2ebe8775e03c90539bc820c275d18a413c36a18.tar.bz2
Changed name of codec to full path name. This allows importing
the test_charmapcodec test via the test package.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_charmapcodec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_charmapcodec.py b/Lib/test/test_charmapcodec.py
index ca33cdb..ca7b331 100644
--- a/Lib/test/test_charmapcodec.py
+++ b/Lib/test/test_charmapcodec.py
@@ -16,7 +16,7 @@ def check(a, b):
print '%s == %s: OK' % (repr(a), repr(b))
# test codec's full path name (see test/testcodec.py)
-codecname = 'testcodec'
+codecname = 'test.testcodec'
check(unicode('abc', codecname), u'abc')
check(unicode('xdef', codecname), u'abcdef')