Skip to content

Commit

Permalink
style: the name of the matchers don't need quotes in the reprs
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Oct 10, 2021
1 parent a05710e commit 27db7b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coverage/files.py
Expand Up @@ -204,7 +204,7 @@ def __init__(self, paths, name):
self.name = name

def __repr__(self):
return f"<TreeMatcher {self.name!r} {self.original_paths!r}>"
return f"<TreeMatcher {self.name} {self.original_paths!r}>"

def info(self):
"""A list of strings for displaying when dumping state."""
Expand All @@ -231,7 +231,7 @@ def __init__(self, module_names, name):
self.name = name

def __repr__(self):
return f"<ModuleMatcher {self.name!r} {self.modules!r}>"
return f"<ModuleMatcher {self.name} {self.modules!r}>"

def info(self):
"""A list of strings for displaying when dumping state."""
Expand Down Expand Up @@ -261,7 +261,7 @@ def __init__(self, pats, name):
self.name = name

def __repr__(self):
return f"<FnmatchMatcher {self.name!r} {self.pats!r}>"
return f"<FnmatchMatcher {self.name} {self.pats!r}>"

def info(self):
"""A list of strings for displaying when dumping state."""
Expand Down

0 comments on commit 27db7b4

Please sign in to comment.