Skip to content

Commit d2c351e

Browse files
committed
fix config
1 parent f3a9b3b commit d2c351e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parsl/tests/test_vineex/test_function_context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def test_function_context_computation(num_tasks, current_config_name):
4242
pytest.skip("Skip tests as these are exclusively for TaskVineExecutor.")
4343
input_file_names = ['input1.test_taskvine_context.data', 'input2.test_taskvine_context.data']
4444
try:
45-
with parsl.load(fresh_config):
45+
config = fresh_config()
46+
with parsl.load(config):
4647
input_data = [7, 8]
4748
for i, file_name in enumerate(input_file_names):
4849
with open(file_name, 'w') as f:

0 commit comments

Comments
 (0)