gh-93247: Fix assert function in asyncio locks test (GH-93248)

(cherry picked from commit 9081bbd036934ab435291db9d32d02fd42282951)

Co-authored-by: Cyker Way <cykerway@gmail.com>
1 file changed