Skip to content

Commit

Permalink
fix: fix typo in test
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
  • Loading branch information
noxdafox committed Apr 17, 2024
1 parent e9bb9be commit 76a2e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_thread_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def test_thread_pool_map_broken_pool(self):
with ThreadPool(max_workers=1) as pool:
future = pool.map(long_function, elements, timeout=1)
generator = future.result()
pool._context.state = PoolStatus.ERROR
pool._context.status = PoolStatus.ERROR
while True:
try:
next(generator)
Expand Down

0 comments on commit 76a2e25

Please sign in to comment.