diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-19 15:20:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-19 15:20:48 (GMT) |
commit | 54b3b3fb2cb54e25901710b98b8d7b13d5f3b01e (patch) | |
tree | 0f299902cdce658c590b3e9730b7d83062ce5781 | |
parent | ef1a79799ff9e1c0b94eb7ee753cb8e263605c34 (diff) | |
parent | 996c3deafe13235baf73f305e5eb4848f3f6ed2d (diff) | |
download | cpython-54b3b3fb2cb54e25901710b98b8d7b13d5f3b01e.zip cpython-54b3b3fb2cb54e25901710b98b8d7b13d5f3b01e.tar.gz cpython-54b3b3fb2cb54e25901710b98b8d7b13d5f3b01e.tar.bz2 |
Fixed typo.
-rw-r--r-- | Lib/test/test_mmap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index fa693f3..4d23f16 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -645,8 +645,8 @@ class MmapTests(unittest.TestCase): m1 = mmap.mmap(-1, 100) tagname = "foo" m2 = mmap.mmap(-1, 100, tagname=tagname) - self.assertEqual(sys.getsize(m2), - sys.getsize(m1) + len(tagname) + 1) + self.assertEqual(sys.getsizeof(m2), + sys.getsizeof(m1) + len(tagname) + 1) @unittest.skipUnless(os.name == 'nt', 'requires Windows') def test_crasher_on_windows(self): |