diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-19 21:52:22 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-19 21:52:22 -0400 |
commit | dfb5405959bbe14ebcf533cd442c41a314b8a4fd (patch) | |
tree | e6a78608ef35a0699c3381dda2813e0739d3c47d /tests | |
parent | 438f29546437ff235772ad8d3a915c42f7bb2665 (diff) | |
download | python-coveragepy-dfb5405959bbe14ebcf533cd442c41a314b8a4fd.tar.gz |
Now I can use decorators.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/coveragetest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 4fe8191..cb2957d 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.""" |