mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Issue #20574: Add more tests for cp65001
This commit is contained in:
parent
7d00cc1a64
commit
f8cbf78bbd
1 changed files with 6 additions and 0 deletions
|
@ -2879,5 +2879,11 @@ class CodePageTest(unittest.TestCase):
|
||||||
self.assertEqual(decoded, ('abc', 3))
|
self.assertEqual(decoded, ('abc', 3))
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipUnless(sys.platform == 'win32',
|
||||||
|
'cp65001 is specific to Windows')
|
||||||
|
class CP65001Test(UTF8Test, unittest.TestCase):
|
||||||
|
encoding = "cp65001"
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue