summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2022-03-25 22:26:23 (GMT)
committerGitHub <noreply@github.com>2022-03-25 22:26:23 (GMT)
commitbad6ffaa64eecd33f4320ca31b1201b25cd8fc91 (patch)
tree28413f729dde37eb2d912a881efdaae5eab88744 /Lib/test
parentd03acd7270d66ddb8e987f9743405147ecc15087 (diff)
downloadcpython-bad6ffaa64eecd33f4320ca31b1201b25cd8fc91.zip
cpython-bad6ffaa64eecd33f4320ca31b1201b25cd8fc91.tar.gz
cpython-bad6ffaa64eecd33f4320ca31b1201b25cd8fc91.tar.bz2
bpo-47062: Rename factory argument to loop_factory (GH-32113)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asyncio/test_runners.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_runners.py b/Lib/test/test_asyncio/test_runners.py
index c0bd1a2..94f2679 100644
--- a/Lib/test/test_asyncio/test_runners.py
+++ b/Lib/test/test_asyncio/test_runners.py
@@ -201,7 +201,7 @@ class RunnerTests(BaseTest):
def test_custom_factory(self):
loop = mock.Mock()
- with asyncio.Runner(factory=lambda: loop) as runner:
+ with asyncio.Runner(loop_factory=lambda: loop) as runner:
self.assertIs(runner.get_loop(), loop)
def test_run(self):