Skip to content

Commit 092396e

Browse files
committed
Reformat
1 parent e534a21 commit 092396e

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

pytest_asyncio/plugin.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,19 @@ def pytest_addoption(parser, pluginmanager):
6262
type="string",
6363
default="legacy",
6464
)
65-
group.addoption("--asyncio-timeout", dest="asyncio_timeout", type=float, help=ASYNCIO_TIMEOUT_HELP, default=None)
66-
parser.addini("asyncio_timeout", type="string", help="default value for --asyncio-timeout",default=0)
67-
68-
65+
group.addoption(
66+
"--asyncio-timeout",
67+
dest="asyncio_timeout",
68+
type=float,
69+
help=ASYNCIO_TIMEOUT_HELP,
70+
default=None,
71+
)
72+
parser.addini(
73+
"asyncio_timeout",
74+
type="string",
75+
help="default value for --asyncio-timeout",
76+
default=0,
77+
)
6978

7079

7180
def fixture(fixture_function=None, **kwargs):

0 commit comments

Comments
 (0)