diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-19 15:20:23 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-19 15:20:23 (GMT) |
commit | 996c3deafe13235baf73f305e5eb4848f3f6ed2d (patch) | |
tree | 1075f7792ff23f94aea3c9dbd5b565620e8ccc08 /Lib/test/test_mmap.py | |
parent | 76b47655ffcb012dda7886dbdbf80c36254c5d2c (diff) | |
download | cpython-996c3deafe13235baf73f305e5eb4848f3f6ed2d.zip cpython-996c3deafe13235baf73f305e5eb4848f3f6ed2d.tar.gz cpython-996c3deafe13235baf73f305e5eb4848f3f6ed2d.tar.bz2 |
Fixed typo.
Diffstat (limited to 'Lib/test/test_mmap.py')
-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): |