We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471f57b commit 3c8c009Copy full SHA for 3c8c009
tests/test_type_errors.py
@@ -83,10 +83,6 @@ def _test_type_errors(
83
f"{test_file}:{line_num}: Expected error matching '{expected_pattern}' but got '{actual_msg}'"
84
)
85
86
- for line_num, actual_msg in sorted(actual_errors.items()):
87
- if line_num not in expected_errors:
88
- pytest.fail(f"{test_file}:{line_num}: Unexpected type error: {actual_msg}")
89
-
90
91
def _has_type_error_assertions(test_file: Path) -> bool:
92
"""Check if a file contains any type error assertions."""
0 commit comments