Skip to content

Commit 0a5da65

Browse files
regression test for #15979
#16019, which fixed this issue (for linux) was not accompanied by a regression test
1 parent fb16e93 commit 0a5da65

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test-data/unit/reports.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,3 +547,10 @@ namespace_packages = True
547547
</table>
548548
</body>
549549
</html>
550+
551+
[case testLinecountReportCrashOnNamespacePackages]
552+
# cmd: mypy --linecount-report report -p folder
553+
--Regression test for https://github.com/python/mypy/issues/15979
554+
[file folder/subfolder/something.py]
555+
class Something:
556+
pass

0 commit comments

Comments
 (0)