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