mirror of https://github.com/python/cpython
fix bug in 48797808a302
This commit is contained in:
parent
e06cc67c19
commit
cf0b9da988
|
@ -722,7 +722,7 @@ class MmapTests(unittest.TestCase):
|
|||
except SystemError:
|
||||
self.skipTest("resizing not supported")
|
||||
self.assertEqual(m.read(14), b'')
|
||||
self.assertRaises(ValueError, m.read_byte,)
|
||||
self.assertRaises(ValueError, m.read_byte)
|
||||
self.assertRaises(ValueError, m.write_byte, 42)
|
||||
self.assertRaises(ValueError, m.write, b'abc')
|
||||
|
||||
|
|
Loading…
Reference in New Issue