From 647f120850bd60205c3daaa2352237d53b828218 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 5 Dec 2013 07:40:29 +0100 Subject: touch _lsprof's clear() method for C code coverage --- Lib/test/test_cprofile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_cprofile.py b/Lib/test/test_cprofile.py index c3eb7fa..ce5d27e 100644 --- a/Lib/test/test_cprofile.py +++ b/Lib/test/test_cprofile.py @@ -29,6 +29,7 @@ class CProfileTest(ProfileTest): obj.enable() obj = _lsprof.Profiler(1) obj.disable() + obj.clear() finally: sys.stderr = orig_stderr finally: -- cgit v0.12