summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_profilehooks.py
Commit message (Collapse)AuthorAgeFilesLines
* Change all the function attributes from func_* -> __*__. This gets ridNeal Norwitz2007-02-251-1/+1
| | | | | of func_name, func_dict and func_doc as they already exist as __name__, __dict__ and __doc__.
* Enable the profiling of C functions (builtins and extensions)Nicholas Bastin2004-03-241-1/+10
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-5/+4
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-6/+8
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Remove some now-obsolete generator future statements.Tim Peters2002-04-011-2/+0
| | | | | I left the email pkg alone; I'm not sure how Barry would like to handle that.
* SF #506611, fix sys.setprofile(), sys.settrace() core dumpsNeal Norwitz2002-03-031-0/+6
| | | | when no arguments are passed
* Updated to reflect the rationalized profiler event reporting.Fred Drake2001-10-041-46/+27
|
* Add some more test cases to be sure we do the right thing in various cases.Fred Drake2001-10-031-0/+117
|
* More test cases, including something that simulates what the profilerFred Drake2001-09-261-5/+66
| | | | probably *should* be doing.
* Factor out the protect-from-exceptions helpers and make capture_events()Fred Drake2001-09-251-35/+65
| | | | | | use it. This simplifies the individual tests a little. Added some new tests related to exception handling.
* Add more tests showing the relationship between exceptions raised & caughtFred Drake2001-09-241-9/+64
| | | | and the information provided to the profiler. This stuff is a mess!
* Start of a test to make sure the profiler/tracer support in the coreFred Drake2001-09-221-0/+110
interpreter is reporting what we expect to see.