Skip to content

Commit a794808

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d52afe1 commit a794808

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pytest_pyodide/decorator.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,7 @@ def _locate_funcdef(
345345
):
346346
statements.append(node)
347347

348-
if (
349-
node.end_lineno
350-
and node.end_lineno > func_line_no > node.lineno
351-
):
348+
if node.end_lineno and node.end_lineno > func_line_no > node.lineno:
352349
it = iter(node.body) # type: ignore[attr-defined]
353350
continue
354351

0 commit comments

Comments
 (0)