diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-22 17:12:30 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-22 18:34:50 -0400 |
commit | b7be64538aa480fce641349d3053e9a84862d571 (patch) | |
tree | a5e195f650afffd026a662a628eda7b37fc5fece /coverage/plugin_support.py | |
parent | 5a94109e646870aef6188de25ba314f73fa1245d (diff) | |
download | python-coveragepy-git-b7be64538aa480fce641349d3053e9a84862d571.tar.gz |
style: double quotes
Diffstat (limited to 'coverage/plugin_support.py')
-rw-r--r-- | coverage/plugin_support.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/plugin_support.py b/coverage/plugin_support.py index 4ed02c5c..c99fb5e3 100644 --- a/coverage/plugin_support.py +++ b/coverage/plugin_support.py @@ -114,7 +114,7 @@ class Plugins: """ plugin_name = f"{self.current_module}.{plugin.__class__.__name__}" - if self.debug and self.debug.should('plugin'): + if self.debug and self.debug.should("plugin"): self.debug.write(f"Loaded plugin {self.current_module!r}: {plugin!r}") labelled = LabelledDebug(f"plugin {self.current_module!r}", self.debug) plugin = DebugPluginWrapper(plugin, labelled) @@ -150,7 +150,7 @@ class LabelledDebug: def message_prefix(self) -> str: """The prefix to use on messages, combining the labels.""" - prefixes = self.labels + [''] + prefixes = self.labels + [""] return ":\n".join(" "*i+label for i, label in enumerate(prefixes)) def write(self, message: str) -> None: |