summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2022-03-19 16:49:27 -0500
committerJordan Cook <jordan.cook@pioneer.com>2022-03-29 12:17:43 -0500
commit2578cde2692714f1d74fcc20b47fd68d81295b51 (patch)
treeca2b41d3c171394eac0cf2ea009d19182193c9ce /tests/integration
parentb3646b03bc05f5b05f4384eb9a2b4796fa59cb34 (diff)
downloadrequests-cache-2578cde2692714f1d74fcc20b47fd68d81295b51.tar.gz
Fix some regression bugs and broken tests
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/base_cache_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/base_cache_test.py b/tests/integration/base_cache_test.py
index 1fe4253..e0a2d06 100644
--- a/tests/integration/base_cache_test.py
+++ b/tests/integration/base_cache_test.py
@@ -359,7 +359,7 @@ class BaseCacheTest:
session_factory = partial(self.init_session, clear=False)
request_func = partial(_send_request, session_factory, url)
- with ProcessPoolExecutor(max_workers=N_WORKERS) as executor:
+ with executor_class(max_workers=N_WORKERS) as executor:
_ = list(executor.map(request_func, range(N_REQUESTS_PER_ITERATION)))
# Some logging for debug purposes