Skip to content

Commit 21d2a7f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 950d4f8 commit 21d2a7f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_exploration_run_exception.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def eval_func(input_params, output_params):
1212

1313
def test_exception_during_exploration_run():
1414
"""Test that the Exploration handles exceptions during the run correctly.
15-
15+
1616
When using `create_evaluation_dirs=True`, the current working directory
1717
will change during exploration and should be restored when `.run` finishes,
1818
even if an exception occurs.
@@ -29,9 +29,7 @@ def test_exception_during_exploration_run():
2929
)
3030

3131
# Create function evaluator.
32-
ev = FunctionEvaluator(
33-
function=eval_func, create_evaluation_dirs=True
34-
)
32+
ev = FunctionEvaluator(function=eval_func, create_evaluation_dirs=True)
3533

3634
# Create exploration.
3735
exploration = Exploration(

0 commit comments

Comments
 (0)