mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Fix bug 3625: test issues on 64bit windows. r=pitrou
This commit is contained in:
parent
94a730540a
commit
69ed524045
3 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue