Skip to content

Commit

Permalink
test fix spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
schettino72 committed Sep 8, 2022
1 parent 9e33868 commit 81f84c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def testNonReporterMethod(self, reporter):
assert not hasattr(mp_reporter, 'no_existent_method')


def clouldpickle_installed():
def cloudpickle_installed():
try:
import cloudpickle
cloudpickle
Expand All @@ -585,7 +585,7 @@ def clouldpickle_installed():
return True

class TestJobTask(object):
@pytest.mark.skipif('not clouldpickle_installed()')
@pytest.mark.skipif('not cloudpickle_installed()')
def test_closure_is_picklable(self):
# can pickle because we use cloudpickle
def non_top_function(): return 4
Expand Down Expand Up @@ -758,7 +758,7 @@ def non_pickable_creator():
class TestMRunner_parallel_run_tasks(object):

@pytest.mark.skipif('not runner.MRunner.available()')
@pytest.mark.skipif('not clouldpickle_installed()')
@pytest.mark.skipif('not cloudpickle_installed()')
def test_task_cloudpicklabe_multiprocess(self, reporter, dep_manager):
t1 = Task("t1", [(my_print, ["out a"] )] )
t2 = Task("t2", None, loader=DelayedLoader(
Expand Down

0 comments on commit 81f84c0

Please sign in to comment.