You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def test_produces_a_side_effect_per_item_in_parallel():
"""
Mocks can't be pickled and only memory-shared objects which are global can be used in multiprocessing
"""
_123_pype().do(side_effect, now=True, workers=2)
> assert PARALLEL_SUM.value == sum(_123)
E assert 0 == 6
E + where 0 = <Synchronized wrapper for c_int(0)>.value
E + and 6 = sum((1, 2, 3))
unittests/test_non_empty_pipe.py:143: AssertionError
However, it passes on a Linux box. No idea what it could be but thought I'd let you know.
The text was updated successfully, but these errors were encountered:
However, it passes on a Linux box. No idea what it could be but thought I'd let you know.
The text was updated successfully, but these errors were encountered: