summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecencodings_iso2022.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_iso2022.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_iso2022.py')
-rw-r--r--Lib/test/test_codecencodings_iso2022.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_codecencodings_iso2022.py b/Lib/test/test_codecencodings_iso2022.py
index 8c6e8a5..e4c1839 100644
--- a/Lib/test/test_codecencodings_iso2022.py
+++ b/Lib/test/test_codecencodings_iso2022.py
@@ -3,7 +3,7 @@
# Codec encoding tests for ISO 2022 encodings.
from test import support
-from test import test_multibytecodec_support
+from test import multibytecodec_support
import unittest
COMMON_CODEC_TESTS = (
@@ -13,23 +13,23 @@ COMMON_CODEC_TESTS = (
(b'ab\x1B$def', 'replace', 'ab\uFFFD'),
)
-class Test_ISO2022_JP(test_multibytecodec_support.TestBase, unittest.TestCase):
+class Test_ISO2022_JP(multibytecodec_support.TestBase, unittest.TestCase):
encoding = 'iso2022_jp'
- tstring = test_multibytecodec_support.load_teststring('iso2022_jp')
+ tstring = multibytecodec_support.load_teststring('iso2022_jp')
codectests = COMMON_CODEC_TESTS + (
(b'ab\x1BNdef', 'replace', 'ab\x1BNdef'),
)
-class Test_ISO2022_JP2(test_multibytecodec_support.TestBase, unittest.TestCase):
+class Test_ISO2022_JP2(multibytecodec_support.TestBase, unittest.TestCase):
encoding = 'iso2022_jp_2'
- tstring = test_multibytecodec_support.load_teststring('iso2022_jp')
+ tstring = multibytecodec_support.load_teststring('iso2022_jp')
codectests = COMMON_CODEC_TESTS + (
(b'ab\x1BNdef', 'replace', 'abdef'),
)
-class Test_ISO2022_KR(test_multibytecodec_support.TestBase, unittest.TestCase):
+class Test_ISO2022_KR(multibytecodec_support.TestBase, unittest.TestCase):
encoding = 'iso2022_kr'
- tstring = test_multibytecodec_support.load_teststring('iso2022_kr')
+ tstring = multibytecodec_support.load_teststring('iso2022_kr')
codectests = COMMON_CODEC_TESTS + (
(b'ab\x1BNdef', 'replace', 'ab\x1BNdef'),
)