mirror of https://github.com/python/cpython
Fixed typo.
This commit is contained in:
commit
54b3b3fb2c
|
@ -645,8 +645,8 @@ class MmapTests(unittest.TestCase):
|
||||||
m1 = mmap.mmap(-1, 100)
|
m1 = mmap.mmap(-1, 100)
|
||||||
tagname = "foo"
|
tagname = "foo"
|
||||||
m2 = mmap.mmap(-1, 100, tagname=tagname)
|
m2 = mmap.mmap(-1, 100, tagname=tagname)
|
||||||
self.assertEqual(sys.getsize(m2),
|
self.assertEqual(sys.getsizeof(m2),
|
||||||
sys.getsize(m1) + len(tagname) + 1)
|
sys.getsizeof(m1) + len(tagname) + 1)
|
||||||
|
|
||||||
@unittest.skipUnless(os.name == 'nt', 'requires Windows')
|
@unittest.skipUnless(os.name == 'nt', 'requires Windows')
|
||||||
def test_crasher_on_windows(self):
|
def test_crasher_on_windows(self):
|
||||||
|
|
Loading…
Reference in New Issue