diff --git a/Lib/trace.py b/Lib/trace.py index 850369b9ff4..885824aff27 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -244,8 +244,7 @@ def is_ignored_filename(self, filename): """Return True if the filename does not refer to a file we want to have reported. """ - return (filename == "" or - filename.startswith("') def update(self, other): """Merge in the data from another CoverageResults""" diff --git a/Misc/NEWS b/Misc/NEWS index 6eb401c4f7a..f7440eea46c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -19,6 +19,10 @@ Core and Builtins Library ------- +- trace.CoverageResults.is_ignored_filename() now ignores any name that starts + with "<" and ends with ">" instead of special-casing "" and + "