gh-115058: Add `reset_rare_event_counters function in _testinternalcapi` (GH-115128)

This commit is contained in:
Kirill Podoprigora 2024-02-12 19:05:30 +03:00 committed by GitHub
parent 95ebd45613
commit 93ac78ac3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -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