Skip to content

Commit 654f4ca

Browse files
authored
Inline a single-use test config, from its own file (#3978)
Like PR #3975 ## Type of change - Code maintenance/cleanup
1 parent 9d61d8c commit 654f4ca

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

parsl/tests/configs/local_threads_no_cache.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

parsl/tests/test_python_apps/test_memoize_2.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@
44

55
import parsl
66
from parsl.app.app import python_app
7-
from parsl.tests.configs.local_threads_no_cache import fresh_config as local_config
7+
from parsl.config import Config
8+
from parsl.executors.threads import ThreadPoolExecutor
9+
10+
11+
def local_config():
12+
return Config(
13+
executors=[
14+
ThreadPoolExecutor(max_threads=4),
15+
],
16+
app_cache=False
17+
)
818

919

1020
@python_app

0 commit comments

Comments
 (0)