From: Christian Heimes Date: Thu, 5 Dec 2013 06:40:29 +0000 (+0100) Subject: touch _lsprof's clear() method for C code coverage X-Git-Tag: v3.4.0b2~338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=647f120850bd60205c3daaa2352237d53b828218;p=thirdparty%2FPython%2Fcpython.git touch _lsprof's clear() method for C code coverage --- diff --git a/Lib/test/test_cprofile.py b/Lib/test/test_cprofile.py index c3eb7faf8f6a..ce5d27edd634 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: