Skip to content

Commit f4722b7

Browse files
committed
reset use_pickle more reliably
xfail tests still run! So engines were being left in `use_cloudpickle` state
1 parent 1a14020 commit f4722b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ipyparallel/tests/clienttest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ def setUp(self):
167167
self.engines = []
168168

169169
def tearDown(self):
170+
self.client[:].use_pickle()
171+
170172
# self.client.clear(block=True)
171173
# close fds:
172174
for e in filter(lambda e: e.poll() is not None, launchers):

ipyparallel/tests/test_joblib.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ def test_default_backend(self):
3636
p = Parallel(backend='ipyparallel')
3737
assert p._backend._view.client is self.client
3838

39-
self.client[:].use_pickle()
40-
4139
def test_register_backend(self):
4240
view = self.client.load_balanced_view()
4341
view.register_joblib_backend('view')

0 commit comments

Comments
 (0)