summaryrefslogtreecommitdiff
path: root/Lib/test/test_cprofile.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-05 07:40:29 +0100
committerChristian Heimes <christian@cheimes.de>2013-12-05 07:40:29 +0100
commit647f120850bd60205c3daaa2352237d53b828218 (patch)
tree813a2babc44a0f3867d7ca0a28d24f9a2a6a118b /Lib/test/test_cprofile.py
parent48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b (diff)
downloadcpython-git-647f120850bd60205c3daaa2352237d53b828218.tar.gz
touch _lsprof's clear() method for C code coverage
Diffstat (limited to 'Lib/test/test_cprofile.py')
-rw-r--r--Lib/test/test_cprofile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_cprofile.py b/Lib/test/test_cprofile.py
index c3eb7faf8f..ce5d27edd6 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: