File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
launch_testing/launch_testing/pytest Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515import asyncio
16+ from collections .abc import Sequence
1617import functools
1718import inspect
18- import itertools
19- from collections .abc import Sequence
20- import warnings
2119
2220from _pytest .outcomes import fail
2321from _pytest .outcomes import skip
@@ -46,6 +44,7 @@ def transfer_markers(*args, **kwargs): # noqa
4644
4745class LaunchTestWarning (pytest .PytestWarning ):
4846 """Raised in this plugin to warn users."""
47+
4948 pass
5049
5150
@@ -279,6 +278,7 @@ def is_same_launch_test_fixture(left_item, right_item):
279278 if lfn ._pytestfixturefunction .scope == 'function' :
280279 return False
281280 name = lfn .__name__
281+
282282 def get_fixture_params (item ):
283283 if getattr (item , 'callspec' , None ) is None :
284284 return None
@@ -327,9 +327,7 @@ def enumerate_reversed(sequence):
327327def pytest_pyfunc_call (pyfuncitem ):
328328 """Run launch_testing test coroutines and functions in an event loop."""
329329 if is_launch_test (pyfuncitem ):
330- args = {}
331330 func = pyfuncitem .obj
332- spec = inspect .getfullargspec (func )
333331 shutdown_test = is_shutdown_test (pyfuncitem )
334332 fixture = get_launch_test_fixture (pyfuncitem )
335333 scope = fixture ._pytestfixturefunction .scope
You can’t perform that action at this time.
0 commit comments