summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecencodings_kr.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-04-09 13:37:52 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-04-09 13:37:52 (GMT)
commit75d9aca97ad3c3d823d2f2211f579454b3216f51 (patch)
tree8723ad61bcc75303bb766ffc5b064439f55be75d /Lib/test/test_codecencodings_kr.py
parentf1cdb6086d40c5e9928fc21309cc2d0393a20f83 (diff)
downloadcpython-75d9aca97ad3c3d823d2f2211f579454b3216f51.zip
cpython-75d9aca97ad3c3d823d2f2211f579454b3216f51.tar.gz
cpython-75d9aca97ad3c3d823d2f2211f579454b3216f51.tar.bz2
Rename test_ file that is really a support file to remove test_ prefix.
I thought I had run the full test suite before the last checkin, but obviously I didn't. test_multibytecodec_support.py isn't really a test file, it is a support file that contains a base test class. Rename it to multibytecodec_support so that regrtest test discovery doesn't think it is a test file that should be run.
Diffstat (limited to 'Lib/test/test_codecencodings_kr.py')
-rw-r--r--Lib/test/test_codecencodings_kr.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_codecencodings_kr.py b/Lib/test/test_codecencodings_kr.py
index 4997e83..4dd6049 100644
--- a/Lib/test/test_codecencodings_kr.py
+++ b/Lib/test/test_codecencodings_kr.py
@@ -5,12 +5,12 @@
#
from test import support
-from test import test_multibytecodec_support
+from test import multibytecodec_support
import unittest
-class Test_CP949(test_multibytecodec_support.TestBase, unittest.TestCase):
+class Test_CP949(multibytecodec_support.TestBase, unittest.TestCase):
encoding = 'cp949'
- tstring = test_multibytecodec_support.load_teststring('cp949')
+ tstring = multibytecodec_support.load_teststring('cp949')
codectests = (
# invalid bytes
(b"abc\x80\x80\xc1\xc4", "strict", None),
@@ -20,9 +20,9 @@ class Test_CP949(test_multibytecodec_support.TestBase, unittest.TestCase):
(b"abc\x80\x80\xc1\xc4", "ignore", "abc\uc894"),
)
-class Test_EUCKR(test_multibytecodec_support.TestBase, unittest.TestCase):
+class Test_EUCKR(multibytecodec_support.TestBase, unittest.TestCase):
encoding = 'euc_kr'
- tstring = test_multibytecodec_support.load_teststring('euc_kr')
+ tstring = multibytecodec_support.load_teststring('euc_kr')
codectests = (
# invalid bytes
(b"abc\x80\x80\xc1\xc4", "strict", None),
@@ -51,9 +51,9 @@ class Test_EUCKR(test_multibytecodec_support.TestBase, unittest.TestCase):
(b"\xc1\xc4", "strict", "\uc894"),
)
-class Test_JOHAB(test_multibytecodec_support.TestBase, unittest.TestCase):
+class Test_JOHAB(multibytecodec_support.TestBase, unittest.TestCase):
encoding = 'johab'
- tstring = test_multibytecodec_support.load_teststring('johab')
+ tstring = multibytecodec_support.load_teststring('johab')
codectests = (
# invalid bytes
(b"abc\x80\x80\xc1\xc4", "strict", None),