diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-02-12 13:31:06 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-02-12 13:31:06 (GMT) |
commit | b071d4f3da8db02dc5b355590f1f909896592ec3 (patch) | |
tree | fee2b2ff1813d8ed5c96752b274e8ac604e385bc /Lib/test/test_cprofile.py | |
parent | f29fb5ea282cb70cd2f7dfb0f35ea4510f603247 (diff) | |
download | cpython-b071d4f3da8db02dc5b355590f1f909896592ec3.zip cpython-b071d4f3da8db02dc5b355590f1f909896592ec3.tar.gz cpython-b071d4f3da8db02dc5b355590f1f909896592ec3.tar.bz2 |
profile/cProfile: add tests for run() and runctx() functions
Diffstat (limited to 'Lib/test/test_cprofile.py')
-rw-r--r-- | Lib/test/test_cprofile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_cprofile.py b/Lib/test/test_cprofile.py index 5676668..c3eb7fa 100644 --- a/Lib/test/test_cprofile.py +++ b/Lib/test/test_cprofile.py @@ -6,9 +6,11 @@ from test.support import run_unittest, TESTFN, unlink # rip off all interesting stuff from test_profile import cProfile from test.test_profile import ProfileTest, regenerate_expected_output +from test.profilee import testfunc class CProfileTest(ProfileTest): profilerclass = cProfile.Profile + profilermodule = cProfile expected_max_output = "{built-in method max}" def get_expected_output(self): |