From 996c3deafe13235baf73f305e5eb4848f3f6ed2d Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 19 Aug 2014 18:20:23 +0300 Subject: [PATCH] Fixed typo. --- Lib/test/test_mmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index fa693f3ffa9..4d23f168907 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):