Skip to content

Commit 6b3b73e

Browse files
committed
fixup! fix _should_rewrite: pass py.path.local
1 parent 5726428 commit 6b3b73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_assertrewrite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ def spy_find_spec(name, path):
12821282
# use default patterns, otherwise we inherit pytest's testing config
12831283
hook.fnpats[:] = ["test_*.py", "*_test.py"]
12841284
monkeypatch.setattr(hook, "_find_spec", spy_find_spec)
1285-
hook.set_session(StubSession())
1285+
hook.set_session(StubSession()) # type: ignore[arg-type]
12861286
testdir.syspathinsert()
12871287
return hook
12881288

0 commit comments

Comments
 (0)