summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mmap.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-10-06 05:00:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-10-06 05:00:24 (GMT)
commitcf0b9da988cb096188e81c3687af3a751087d7e9 (patch)
tree664852c34caf4b93987db34a855e286d20c928b0 /Lib/test/test_mmap.py
parente06cc67c1938fa4786aa3f5cd8bb2e7fd65754cf (diff)
downloadcpython-cf0b9da988cb096188e81c3687af3a751087d7e9.zip
cpython-cf0b9da988cb096188e81c3687af3a751087d7e9.tar.gz
cpython-cf0b9da988cb096188e81c3687af3a751087d7e9.tar.bz2
fix bug in 48797808a302
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r--Lib/test/test_mmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index b8a0135..c5577aa 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -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')