Skip to content

Commit

Permalink
Removed cancel_futures=True - not support in Python 3.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbywater committed Feb 4, 2025
1 parent fbaa39a commit 820b1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/persistence_tests/test_popo.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def write():
read_job = thread_pool.submit(read, last_notification_id)
read_job.result()

thread_pool.shutdown(wait=True, cancel_futures=True)
thread_pool.shutdown()


class TestPOPOProcessRecorder(ProcessRecorderTestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/persistence_tests/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def write():
read_job = thread_pool.submit(read, last_notification_id)
read_job.result()

thread_pool.shutdown(wait=True, cancel_futures=True)
thread_pool.shutdown()

def test_concurrent_no_conflicts(self):
super().test_concurrent_no_conflicts()
Expand Down

0 comments on commit 820b1b6

Please sign in to comment.