Commit 2426da89 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fixed typo.

parent cbee972e
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment