Commit cf0b9da9 authored by Benjamin Peterson's avatar Benjamin Peterson

fix bug in 48797808a302

parent e06cc67c
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment