We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d1104 commit e6e6b03Copy full SHA for e6e6b03
jupyter_client/tests/test_session.py
@@ -41,7 +41,7 @@ def setUp(self):
41
@pytest.fixture
42
def no_copy_threshold():
43
"""Disable zero-copy optimizations in pyzmq >= 17"""
44
- with mock.patch.object(zmq, 'COPY_THRESHOLD', 1):
+ with mock.patch.object(zmq, 'COPY_THRESHOLD', 1, create=True):
45
yield
46
47
0 commit comments