There are some clear minor mistakes in asyncio locks test case: Duplicate statements and wrong assert function.
The duplicate statements (L846 and L850) might be intentional but the assert function (L856) is obviously wrong.
cpython/Lib/test/test_asyncio/test_locks.py
Lines 845 to 856 in 5185956
gh-93247: Fix assert function in asyncio locks test (#93248)
pythongh-93247: Fix assert function in asyncio locks test (pythonGH-9…
gh-93247: Fix assert function in asyncio locks test (GH-93248)
Fixed by #93248
Revert 30935 defer bpo45162 to 312 (#94285)
Activity
gh-93247: Fix assert function in asyncio locks test (#93248)
pythongh-93247: Fix assert function in asyncio locks test (pythonGH-9…
pythongh-93247: Fix assert function in asyncio locks test (pythonGH-9…
gh-93247: Fix assert function in asyncio locks test (GH-93248)
gh-93247: Fix assert function in asyncio locks test (GH-93248)
kumaraditya303 commentedon Jun 14, 2022
Fixed by #93248
Revert 30935 defer bpo45162 to 312 (#94285)