diff options
Diffstat (limited to 'coverage/misc.py')
-rw-r--r-- | coverage/misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/misc.py b/coverage/misc.py index 17fb3df9..d5197ea3 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -165,9 +165,9 @@ def overrides(obj, method_name, base_class): # TODO: abc? def _needs_to_implement(that, func_name): """Helper to raise NotImplementedError in interface stubs.""" - if hasattr(that, "plugin_name"): + if hasattr(that, "_coverage_plugin_name"): thing = "Plugin" - name = that.plugin_name + name = that._coverage_plugin_name else: thing = "Class" klass = that.__class__ |