Kaydet (Commit) d7cfae99 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix bug in 48797808a302

üst 38297d7d
......@@ -661,7 +661,7 @@ class MmapTests(unittest.TestCase):
except SystemError:
self.skipTest("resizing not supported")
self.assertEqual(m.read(14), '')
self.assertRaises(ValueError, m.read_byte,1)
self.assertRaises(ValueError, m.read_byte)
self.assertRaises(ValueError, m.write_byte, 'b')
self.assertRaises(ValueError, m.write, '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