From: Serhiy Storchaka Date: Tue, 19 Aug 2014 15:20:07 +0000 (+0300) Subject: Fixed typo. X-Git-Tag: v2.7.9rc1~295 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2426da898a6d01bf5ab3c5828d3fdf14316ec098;p=thirdparty%2FPython%2Fcpython.git Fixed typo. --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index f23a2598f687..648da3ad32a1 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -612,8 +612,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):