[Python-checkins] cpython (2.7): fix bug in 48797808a302
benjamin.peterson
python-checkins at python.org
Thu Oct 6 01:00:31 EDT 2016
https://hg.python.org/cpython/rev/2a2c54a9a7f7
changeset: 104319:2a2c54a9a7f7
branch: 2.7
user: Benjamin Peterson <benjamin at python.org>
date: Wed Oct 05 22:00:24 2016 -0700
summary:
fix bug in 48797808a302
files:
Lib/test/test_mmap.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -661,7 +661,7 @@
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')
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list