]> granicus.if.org Git - python/commitdiff
fix bug in 48797808a302
authorBenjamin Peterson <benjamin@python.org>
Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)
committerBenjamin Peterson <benjamin@python.org>
Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)
Lib/test/test_mmap.py

index b8a0135043f73cd1cbdc714148944628c52af565..c5577aa9586b5bdd98c4fe288143f717b2960f7b 100644 (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')