Skip to content

Commit 72646b4

Browse files
committed
ref: move line to reduce diff
1 parent 5393045 commit 72646b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pytest_asyncio/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,9 @@ def _loop_scope(self) -> _ScopeName:
523523
marker is present, the the loop scope is determined by the configuration
524524
value of `asyncio_default_test_loop_scope`, instead.
525525
"""
526-
default_loop_scope = _get_default_test_loop_scope(self.config)
527526
marker = self.get_closest_marker("asyncio")
528527
assert marker is not None
528+
default_loop_scope = _get_default_test_loop_scope(self.config)
529529
loop_scope = marker.kwargs.get("loop_scope") or marker.kwargs.get("scope")
530530
if loop_scope is None:
531531
return default_loop_scope

0 commit comments

Comments
 (0)