Skip to content

Commit 1b6076a

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 3099432 commit 1b6076a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/pytest_run_parallel/thread_unsafe_detection.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _visit_node(visitor, fn):
294294

295295

296296
def _identify_thread_unsafe_nodes(
297-
fn, skip_set, unsafe_warnings, unsafe_ctypes, unsafe_hypothesis, level=0
297+
fn, skip_set, unsafe_warnings, unsafe_ctypes, unsafe_hypothesis, level=0
298298
):
299299
if is_hypothesis_test(fn):
300300
if hypothesis_version < HYPOTHESIS_THREADSAFE_VERSION:
@@ -313,8 +313,7 @@ def _identify_thread_unsafe_nodes(
313313

314314
try:
315315
visitor = ThreadUnsafeNodeVisitor(
316-
fn, skip_set, unsafe_warnings, unsafe_ctypes, unsafe_hypothesis,
317-
level=level
316+
fn, skip_set, unsafe_warnings, unsafe_ctypes, unsafe_hypothesis, level=level
318317
)
319318
with warnings.catch_warnings():
320319
# in case pytest is configured to treat warnings as errors.

0 commit comments

Comments
 (0)