Fixed typo.

This commit is contained in:
Serhiy Storchaka 2014-08-19 18:20:23 +03:00
parent 76b47655ff
commit 996c3deafe
1 changed files with 2 additions and 2 deletions

View File

@ -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):