summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_locks.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-02-21 11:25:52 (GMT)
committerGitHub <noreply@github.com>2022-02-21 11:25:52 (GMT)
commit195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca (patch)
tree674e5028c65e8dd3b63866774e32405914e3e573 /Lib/test/test_asyncio/test_locks.py
parentbe095f6c32188bba02079d086ac8639ea37cec3c (diff)
downloadcpython-195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca.zip
cpython-195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca.tar.gz
cpython-195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca.tar.bz2
bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431)
Diffstat (limited to 'Lib/test/test_asyncio/test_locks.py')
-rw-r--r--Lib/test/test_asyncio/test_locks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_locks.py b/Lib/test/test_asyncio/test_locks.py
index 4ce3387..d8b164a 100644
--- a/Lib/test/test_asyncio/test_locks.py
+++ b/Lib/test/test_asyncio/test_locks.py
@@ -55,8 +55,8 @@ class LockTests(unittest.IsolatedAsyncioTestCase):
for cls in primitives_cls:
with self.assertRaisesRegex(
TypeError,
- rf'As of 3.10, the \*loop\* parameter was removed from '
- rf'{cls.__name__}\(\) since it is no longer necessary'
+ rf"{cls.__name__}\.__init__\(\) got an unexpected "
+ rf"keyword argument 'loop'"
):
cls(loop=loop)