Skip to content

Commit ce1a27d

Browse files
committed
Update test function name
1 parent bf8c7f9 commit ce1a27d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_inspect/test_inspect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2810,12 +2810,12 @@ def gen():
28102810
yield 2
28112811

28122812
@types.coroutine
2813-
def legacy_coro():
2813+
def wrapped_generator_coro():
28142814
# return a generator iterator so types.coroutine
28152815
# wraps it into types._GeneratorWrapper.
28162816
return gen()
28172817

2818-
g = legacy_coro()
2818+
g = wrapped_generator_coro()
28192819
self.addCleanup(g.close)
28202820
self.assertIs(type(g), types._GeneratorWrapper)
28212821

0 commit comments

Comments
 (0)