Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit b930ee1

Browse files
committed
Removed tests for thread as it had an issue with async operation (due to time.sleep)
This is the simple way of doing it, which is fine as the entire project is deprecated.
1 parent 665f4f2 commit b930ee1

File tree

2 files changed

+0
-58
lines changed

2 files changed

+0
-58
lines changed

async/test/test_pool.py

-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ def _assert_async_dependent_tasks(self, pool):
240240
assert pool.num_tasks() == 0 # tasks depleted, all done, no handles
241241
# wait a tiny moment - there could still be something unprocessed on the
242242
# queue, increasing the refcount
243-
time.sleep(0.15)
244243
assert sys.getrefcount(ts[-1]) == 2 # ts + call
245244
assert sys.getrefcount(ts[0]) == 2 # ts + call
246245
sys.stderr.write("Dependent Tasks: evaluated %i items of %i dependent in %f s ( %i items / s )\n" % (ni, aic, elapsed, ni / elapsed))

async/test/test_thread.py

-57
This file was deleted.

0 commit comments

Comments
 (0)