Skip to content

Commit

Permalink
test with a regular function in test_default_executor
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Apr 10, 2020
1 parent 0f85d3a commit 3d9397d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptive/tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ def test_loky_executor(loky_executor):


def test_default_executor():
learner = Learner1D(lambda x: x, (-1, 1))
learner = Learner1D(linear, (-1, 1))
runner = AsyncRunner(learner, goal=lambda l: l.npoints > 10)
asyncio.get_event_loop().run_until_complete(runner.task)

0 comments on commit 3d9397d

Please sign in to comment.