summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-05 06:40:29 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-05 06:40:29 (GMT)
commit647f120850bd60205c3daaa2352237d53b828218 (patch)
tree813a2babc44a0f3867d7ca0a28d24f9a2a6a118b
parent48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b (diff)
downloadcpython-647f120850bd60205c3daaa2352237d53b828218.zip
cpython-647f120850bd60205c3daaa2352237d53b828218.tar.gz
cpython-647f120850bd60205c3daaa2352237d53b828218.tar.bz2
touch _lsprof's clear() method for C code coverage
-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 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: