From: Benjamin Peterson Date: Thu, 6 Oct 2016 05:00:24 +0000 (-0700) Subject: fix bug in 48797808a302 X-Git-Tag: v2.7.13rc1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7cfae994b8a73dafd52d7ad46373c78cca1e3d6;p=thirdparty%2FPython%2Fcpython.git fix bug in 48797808a302 --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 961aae1f6e5a..092c4a16aba7 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -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')