mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.9] bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (GH-30198) (GH-30204)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 9c06fd8951
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
This commit is contained in:
parent
a328ad7f9a
commit
f8fce5e4e4
3 changed files with 330 additions and 368 deletions
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,6 @@ import inspect
|
|||
from .case import TestCase
|
||||
|
||||
|
||||
|
||||
class IsolatedAsyncioTestCase(TestCase):
|
||||
# Names intentionally have a long prefix
|
||||
# to reduce a chance of clashing with user-defined attributes
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Rewrite ``asyncio.locks`` tests with
|
||||
:class:`unittest.IsolatedAsyncioTestCase` usage.
|
Loading…
Add table
Add a link
Reference in a new issue