mirror of https://github.com/python/cpython
Changed name of codec to full path name. This allows importing
the test_charmapcodec test via the test package.
This commit is contained in:
parent
31c69431e6
commit
d2ebe8775e
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue