summaryrefslogtreecommitdiff
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2008-08-23 00:59:14 +0000
committerMark Hammond <mhammond@skippinet.com.au>2008-08-23 00:59:14 +0000
commit69ed5240451b5e9642ddc87bb6b0ca2d2e47d784 (patch)
tree1d9342e923d4c6aa01cd1cdff83c845b6af945f3 /Lib/test/test_bytes.py
parent94a730540ae65b34c596d99e4dd199bfaee4332c (diff)
downloadcpython-git-69ed5240451b5e9642ddc87bb6b0ca2d2e47d784.tar.gz
Fix bug 3625: test issues on 64bit windows. r=pitrou
Diffstat (limited to 'Lib/test/test_bytes.py')
-rw-r--r--Lib/test/test_bytes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index 6604b1eacf..2873beaf50 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -213,7 +213,7 @@ class BaseBytesTest(unittest.TestCase):
self.assertRaises(TypeError, lambda: 3.14 * b)
# XXX Shouldn't bytes and bytearray agree on what to raise?
self.assertRaises((OverflowError, MemoryError),
- lambda: b * sys.maxint)
+ lambda: b * sys.maxsize)
def test_repeat_1char(self):
self.assertEqual(self.type2test(b'x')*100, self.type2test([ord('x')]*100))