mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Rename checks for test_support.have_unicode (we always
have unicode support now) and either drop the tests or merge them into the existing tests.
This commit is contained in:
parent
0157ebe999
commit
9b775535f8
7 changed files with 62 additions and 112 deletions
|
@ -121,9 +121,7 @@ class BinASCIITest(unittest.TestCase):
|
|||
self.assertRaises(binascii.Error, binascii.a2b_hex, t[:-1])
|
||||
self.assertRaises(binascii.Error, binascii.a2b_hex, t[:-1] + b'q')
|
||||
|
||||
# Verify the treatment of Unicode strings
|
||||
if test_support.have_unicode:
|
||||
self.assertEqual(binascii.hexlify('a'), b'61')
|
||||
self.assertEqual(binascii.hexlify('a'), b'61')
|
||||
|
||||
def test_qp(self):
|
||||
# A test for SF bug 534347 (segfaults without the proper fix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue