summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r--tests/coveragetest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index 4fe81910..cb2957da 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -508,6 +508,7 @@ class CoverageTest(TestCase):
# Map from class to info about how it ran.
class_behaviors = {}
+ @classmethod
def report_on_class_behavior(cls):
"""Called at process exit to report on class behavior."""
for test_class, behavior in cls.class_behaviors.items():
@@ -532,7 +533,6 @@ class CoverageTest(TestCase):
where,
)
)
- report_on_class_behavior = classmethod(report_on_class_behavior)
def class_behavior(self):
"""Get the ClassBehavior instance for this test."""