Skip to content

Commit cd8ef41

Browse files
committed
Use keywords in all FoundModule instances - to make for better type errors
1 parent 6b680fb commit cd8ef41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_is_package_file(path: str, result: str) -> None:
3232

3333

3434
def test_found_module() -> None:
35-
found_module = common.FoundModule("spam", "ham")
35+
found_module = common.FoundModule(modname="spam", filename="ham")
3636
assert found_module.modname == "spam"
3737
assert found_module.filename == str(Path("ham").resolve())
3838
assert not found_module.locations

0 commit comments

Comments
 (0)