Skip to content

Commit ba0d2bc

Browse files
style: add missing -> None return type annotations to test methods
1 parent cd1387f commit ba0d2bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/verification/test_verifier_path_handling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class TestVerifierPathHandling:
1818
"""Test path handling in verifier.py for test files outside tests_root."""
1919

20-
def test_module_name_from_file_path_raises_valueerror_when_outside_root(self):
20+
def test_module_name_from_file_path_raises_valueerror_when_outside_root(self) -> None:
2121
"""Verify that module_name_from_file_path raises ValueError when file is outside root.
2222
2323
This is the current behavior that causes the bug in verifier.py line 37.
@@ -34,7 +34,7 @@ def test_module_name_from_file_path_raises_valueerror_when_outside_root(self):
3434
with pytest.raises(ValueError, match="is not within the project root"):
3535
module_name_from_file_path(test_path, tests_root)
3636

37-
def test_module_name_from_file_path_with_fallback_succeeds(self):
37+
def test_module_name_from_file_path_with_fallback_succeeds(self) -> None:
3838
"""Test that adding a fallback (try-except) allows graceful handling.
3939
4040
This is the pattern used in javascript/parse.py:330-333 that should

0 commit comments

Comments
 (0)