summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_optimizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_optimizer.py')
-rw-r--r--Lib/test/test_optimizer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_optimizer.py b/Lib/test/test_optimizer.py
index c8554c4..dfea8be 100644
--- a/Lib/test/test_optimizer.py
+++ b/Lib/test/test_optimizer.py
@@ -7,6 +7,9 @@ _testinternalcapi = import_helper.import_module("_testinternalcapi")
class TestRareEventCounters(unittest.TestCase):
+ def setUp(self):
+ _testinternalcapi.reset_rare_event_counters()
+
def test_set_class(self):
class A:
pass