fix bug in 48797808a302

This commit is contained in:
Benjamin Peterson 2016-10-05 22:00:24 -07:00
parent e06cc67c19
commit cf0b9da988
1 changed files with 1 additions and 1 deletions

View File

@ -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')