mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
gh-115058: Add `reset_rare_event_counters
function in
_testinternalcapi` (GH-115128)
This commit is contained in:
parent
95ebd45613
commit
93ac78ac3e
2 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue