From: Serhiy Storchaka Date: Tue, 19 Aug 2014 15:20:23 +0000 (+0300) Subject: Fixed typo. X-Git-Tag: v3.4.2rc1~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=996c3deafe13235baf73f305e5eb4848f3f6ed2d;p=python Fixed typo. --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index fa693f3ffa..4d23f16890 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):