summaryrefslogtreecommitdiff
path: root/Lib/test/test_binascii.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-06-08 14:30:53 +0000
committerWalter Dörwald <walter@livinglogic.de>2007-06-08 14:30:53 +0000
commit9b775535f828bedc30f3f52a04afec049b6aa25a (patch)
tree12b9a0e80636c157457d827a7436e77d843e03b3 /Lib/test/test_binascii.py
parent0157ebe999e951a4a3a5296586b08f4f96384bb3 (diff)
downloadcpython-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-xLib/test/test_binascii.py4
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)