Skip to content

Commit 40a9931

Browse files
committed
private
1 parent 858f513 commit 40a9931

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_twisted.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def pytest_fixture_setup(fixturedef, request):
277277
return not None
278278

279279

280-
def create_async_yield_fixture_finalizer(coroutine):
280+
def _create_async_yield_fixture_finalizer(coroutine):
281281
def finalizer():
282282
_run_inline_callbacks(
283283
_tear_it_down,
@@ -305,7 +305,7 @@ def _async_pytest_fixture_setup(fixturedef, request, mark):
305305
coroutine = fixture_function(**kwargs)
306306

307307
request.addfinalizer(
308-
create_async_yield_fixture_finalizer(coroutine=coroutine),
308+
_create_async_yield_fixture_finalizer(coroutine=coroutine),
309309
)
310310

311311
arg_value = yield defer.ensureDeferred(coroutine.__anext__())

0 commit comments

Comments
 (0)