Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[3.10] gh-93247: Fix assert function in asyncio locks test (GH-93248)#93525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-93247: Fix assert function in asyncio locks test (GH-93248)
(cherry picked from commit9081bbd)Co-authored-by: Cyker Way <cykerway@gmail.com>
  • Loading branch information
@cykerway@miss-islington
cykerway authored andmiss-islington committedJun 6, 2022
commit43be7d5ddd35c1a1bbcde4c1b6d0ff37f38e5668
2 changes: 1 addition & 1 deletionLib/test/test_asyncio/test_locks.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -866,7 +866,7 @@ async def c4(result):
self.assertTrue(t1.result())
race_tasks = [t2, t3, t4]
done_tasks = [t for t in race_tasks if t.done() and t.result()]
self.assertTrue(2, len(done_tasks))
self.assertEqual(2, len(done_tasks))

# cleanup locked semaphore
sem.release()
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp