Skip to content

Commit cc50e7e

Browse files
committed
please linters
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
1 parent fb53675 commit cc50e7e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

launch_pytest/launch_pytest/fixture.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def finalize_launch_service(launch_service, eprefix='', auto_shutdown=True):
3838

3939
def get_launch_service_fixture(*, scope='function', overridable=True):
4040
"""Return a launch service fixture."""
41-
4241
@pytest.fixture(scope=scope)
4342
def launch_service(event_loop):
4443
"""Create an instance of the launch service for each test case."""
@@ -53,7 +52,6 @@ def launch_service(event_loop):
5352

5453
def get_launch_context_fixture(*, scope='function', overridable=True):
5554
"""Return a launch service fixture."""
56-
5755
@pytest.fixture(scope=scope)
5856
def launch_context(launch_service):
5957
"""Create an instance of the launch service for each test case."""

launch_pytest/launch_pytest/plugin.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ def get_fixture_params(item):
269269
@pytest.mark.trylast
270270
def pytest_collection_modifyitems(session, config, items):
271271
"""Move shutdown tests after normal tests."""
272-
273272
def enumerate_reversed(sequence):
274273
# reversed(enumerate(sequence)), doesn't work
275274
# here a little generator for that
@@ -367,7 +366,6 @@ def run_until_complete(loop, future_like):
367366

368367
def wrap_coroutine(func, event_loop, before_test):
369368
"""Return a sync wrapper around an async function to be executed in the event loop."""
370-
371369
@functools.wraps(func)
372370
def inner(**kwargs):
373371
if before_test is not None:
@@ -381,7 +379,6 @@ def inner(**kwargs):
381379

382380
def wrap_func(func, event_loop, before_test):
383381
"""Return a wrapper that runs the test in a separate thread while driving the event loop."""
384-
385382
@functools.wraps(func)
386383
def inner(**kwargs):
387384
if before_test is not None:
@@ -424,7 +421,6 @@ def inner(**kwargs):
424421

425422
def wrap_generator_fscope(func, event_loop, on_shutdown):
426423
"""Return wrappers for the normal test and the teardown test for a generator function."""
427-
428424
@functools.wraps(func)
429425
def inner(**kwargs):
430426
gen = func(**kwargs)
@@ -479,7 +475,6 @@ def inner(**kwargs):
479475

480476
def wrap_asyncgen_fscope(func, event_loop, on_shutdown):
481477
"""Return wrappers for the normal test and the teardown test for an async gen function."""
482-
483478
@functools.wraps(func)
484479
def inner(**kwargs):
485480
agen = func(**kwargs)

0 commit comments

Comments
 (0)