[Python-checkins] cpython: Issue #20574: Add more tests for cp65001
victor.stinner
python-checkins at python.org
Mon Mar 17 23:17:44 CET 2014
http://hg.python.org/cpython/rev/85b87789f048
changeset: 89833:85b87789f048
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Mar 17 23:16:02 2014 +0100
summary:
Issue #20574: Add more tests for cp65001
files:
Lib/test/test_codecs.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -2879,5 +2879,11 @@
self.assertEqual(decoded, ('abc', 3))
+ at unittest.skipUnless(sys.platform == 'win32',
+ 'cp65001 is specific to Windows')
+class CP65001Test(UTF8Test, unittest.TestCase):
+ encoding = "cp65001"
+
+
if __name__ == "__main__":
unittest.main()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list