summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-08 20:36:57 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-08 20:36:57 (GMT)
commitd7ae299e4ba2b66145c2dea463f259d42b827917 (patch)
tree61ae363632d724b00bb87b1be37e235f9ed977dc /Lib
parent6672ea942447f409871bd19c928521be13aae1e5 (diff)
downloadcpython-d7ae299e4ba2b66145c2dea463f259d42b827917.zip
cpython-d7ae299e4ba2b66145c2dea463f259d42b827917.tar.gz
cpython-d7ae299e4ba2b66145c2dea463f259d42b827917.tar.bz2
Fix test_hashlib with the bigmem option
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_hashlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_hashlib.py b/Lib/test/test_hashlib.py
index c8db6a8..1db2e1f 100644
--- a/Lib/test/test_hashlib.py
+++ b/Lib/test/test_hashlib.py
@@ -182,7 +182,7 @@ class HashLibTestCase(unittest.TestCase):
def test_case_md5_huge(self, size):
if size == _4G + 5:
try:
- self.check('md5', 'A'*size, 'c9af2dff37468ce5dfee8f2cfc0a9c6d')
+ self.check('md5', b'A'*size, 'c9af2dff37468ce5dfee8f2cfc0a9c6d')
except OverflowError:
pass # 32-bit arch
@@ -190,7 +190,7 @@ class HashLibTestCase(unittest.TestCase):
def test_case_md5_uintmax(self, size):
if size == _4G - 1:
try:
- self.check('md5', 'A'*size, '28138d306ff1b8281f1a9067e1a1a2b3')
+ self.check('md5', b'A'*size, '28138d306ff1b8281f1a9067e1a1a2b3')
except OverflowError:
pass # 32-bit arch