summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_multiprocessing.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2021-09-06 16:55:34 (GMT)
committerGitHub <noreply@github.com>2021-09-06 16:55:34 (GMT)
commit19871fce3b74fc3f37e334a999e00d0ef65a8f1e (patch)
treee27735797585eec1282c761a3832c1be010811d1 /Lib/test/_test_multiprocessing.py
parent37272f5800ee1e9fcb2da4a1766366519b9b3d94 (diff)
downloadcpython-19871fce3b74fc3f37e334a999e00d0ef65a8f1e.zip
cpython-19871fce3b74fc3f37e334a999e00d0ef65a8f1e.tar.gz
cpython-19871fce3b74fc3f37e334a999e00d0ef65a8f1e.tar.bz2
bpo-45052: Unskips a failing `test_shared_memory_basics` test (GH-28182)
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
-rw-r--r--Lib/test/_test_multiprocessing.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index 0f4e4fd..8ebcd0d 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -3773,7 +3773,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)
@@ -3792,7 +3791,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.