Skip to content

Commit 0ca51a9

Browse files
authored
Use stub instead of stub.path as log() argument
1 parent 451985f commit 0ca51a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/mypy_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def match(stub: StubFile, args: TestConfig) -> bool:
143143
log_msg = (
144144
f'is implicitly excluded: was not in any of the directories or paths specified on the command line: "{args.filter!r}"'
145145
)
146-
log(args, stub.path, log_msg)
146+
log(args, stub, log_msg)
147147
return False
148148

149149

0 commit comments

Comments
 (0)