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 afbbf17 commit c8b3af9Copy full SHA for c8b3af9
doc/whatsnew/fragments/9145.bugfix
@@ -0,0 +1,3 @@
1
+Restore "errors / warnings by module" section to report output (with `-ry`).
2
+
3
+Closes #9145
tests/test_self.py
@@ -981,6 +981,11 @@ def test_can_list_directories_without_dunder_init(tmp_path: Path) -> None:
981
stderr=subprocess.PIPE,
982
)
983
984
+ def test_warnings_by_module(self) -> None:
985
+ path = join(HERE, "regrtest_data", "unused_variable.py")
986
+ expected = "errors / warnings by module"
987
+ self._test_output([path, "-ry"], expected_output=expected)
988
989
@pytest.mark.needs_two_cores
990
def test_jobs_score(self) -> None:
991
path = join(HERE, "regrtest_data", "unused_variable.py")
0 commit comments