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
commite5410b7fa1381e441bdaa8f55e943216f45f6085 (patch)
tree1f76e5418a099fca0805e9a1e44c1cd2270b2cfc /Lib/test/test_binascii.py
parent7dd03f81c10eb5490543fe5a6213d86f022a5b7b (diff)
downloadcpython-e5410b7fa1381e441bdaa8f55e943216f45f6085.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)