Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit b930ee1

Browse filesBrowse 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
Copy full SHA for b930ee1

File tree

2 files changed

+0
-58
lines changed
Filter options

2 files changed

+0
-58
lines changed

‎async/test/test_pool.py

Copy file name to clipboardExpand all lines: async/test/test_pool.py
-1Lines changed: 0 additions & 1 deletion
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

Copy file name to clipboardExpand all lines: async/test/test_thread.py
-57Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.