Skip to content

Commit 6281a3b

Browse files
committed
Moved test_rapid_restart test skip into an expectedFailure
1 parent 3789c8c commit 6281a3b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3305,7 +3305,6 @@ def _putter(cls, address, authkey):
33053305
queue = manager.get_queue()
33063306
queue.put('hello world')
33073307

3308-
@unittest.skip("TODO: RUSTPYTHON; WithProcessesTestManagerRestart + WithThreadsTestManagerRestart succeeds, but WithManagerTestManagerRestart fails")
33093308
def test_rapid_restart(self):
33103309
authkey = os.urandom(32)
33113310
manager = QueueManager(
@@ -6738,8 +6737,15 @@ def install_tests_in_module_dict(remote_globs, start_method,
67386737
continue
67396738
newname = 'With' + type_.capitalize() + name[1:]
67406739
Mixin = local_globs[type_.capitalize() + 'Mixin']
6741-
class Temp(base, Mixin, unittest.TestCase):
6742-
pass
6740+
if newname == "WithManagerTestManagerRestart":
6741+
class Temp(base, Mixin, unittest.TestCase):
6742+
@unittest.expectedFailure #TODO: RUSTPYTHON
6743+
def test_rapid_restart(self):
6744+
super().test_rapid_restart()
6745+
6746+
else:
6747+
class Temp(base, Mixin, unittest.TestCase):
6748+
pass
67436749
if type_ == 'manager':
67446750
Temp = hashlib_helper.requires_hashdigest('sha256')(Temp)
67456751
Temp.__name__ = Temp.__qualname__ = newname

0 commit comments

Comments
 (0)