From 6b5aea2dc1bf7e117d40d6c9035d5c13124fd968 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 6 Sep 2021 10:16:44 -0700 Subject: bpo-45052: Unskips a failing `test_shared_memory_basics` test (GH-28182) (cherry picked from commit 19871fce3b74fc3f37e334a999e00d0ef65a8f1e) Co-authored-by: Nikita Sobolev --- Lib/test/_test_multiprocessing.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'Lib/test') diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index a7cc1e5d09..087ab70f66 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -3771,7 +3771,6 @@ class _TestSharedMemory(BaseTestCase): local_sms.buf[:len(binary_data)] = binary_data local_sms.close() - @unittest.skipIf(sys.platform == "win32", "test is broken on Windows") def test_shared_memory_basics(self): sms = shared_memory.SharedMemory('test01_tsmb', create=True, size=512) self.addCleanup(sms.unlink) @@ -3790,7 +3789,6 @@ class _TestSharedMemory(BaseTestCase): pickled_sms = pickle.dumps(sms) sms2 = pickle.loads(pickled_sms) self.assertEqual(sms.name, sms2.name) - self.assertEqual(sms.size, sms2.size) self.assertEqual(bytes(sms.buf[0:6]), bytes(sms2.buf[0:6]), b'pickle') # Modify contents of shared memory segment through memoryview. -- cgit v1.2.1