diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-06-08 14:30:53 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-06-08 14:30:53 +0000 |
commit | 9b775535f828bedc30f3f52a04afec049b6aa25a (patch) | |
tree | 12b9a0e80636c157457d827a7436e77d843e03b3 /Lib/test/test_binascii.py | |
parent | 0157ebe999e951a4a3a5296586b08f4f96384bb3 (diff) | |
download | cpython-git-9b775535f828bedc30f3f52a04afec049b6aa25a.tar.gz |
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.
Diffstat (limited to 'Lib/test/test_binascii.py')
-rwxr-xr-x | Lib/test/test_binascii.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index dc87e94022..9229f384ad 100755 --- a/Lib/test/test_binascii.py +++ b/Lib/test/test_binascii.py @@ -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) |