]> granicus.if.org Git - python/commitdiff
Changed name of codec to full path name. This allows importing
authorMarc-André Lemburg <mal@egenix.com>
Wed, 17 Jan 2001 15:07:00 +0000 (15:07 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Wed, 17 Jan 2001 15:07:00 +0000 (15:07 +0000)
the test_charmapcodec test via the test package.

Lib/test/test_charmapcodec.py

index ca33cdb23f555d7fb059c916de8867c4bf661246..ca7b331dedb33aaa72b63108d860a341f3b1c81d 100644 (file)
@@ -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')