summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys_settrace.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace 1/0 with 1//0 in tests to avoid Python 3 warns (GH-10833)Victor Stinner2018-11-301-1/+1
| | | Fix DeprecationWarning when tests are run using python -3.
* [2.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. ↵xdegaye2018-03-131-11/+57
| | | | | (GH-6111) (cherry picked from commit e32bbaf376a09c149fa7c7f2919d7c9ce4e2a055)
* [2.7] bpo-33026: Fix jumping out of "with" block by setting f_lineno. ↵Miss Islington (bot)2018-03-111-0/+28
| | | | | | | | | (GH-6026). (GH-6074) (GH-6076) (cherry picked from commit 26c9f565d016db21257a60d29ab2c99383dd5ac7) (cherry picked from commit 04aadf23eac51fec2e436c5960c1362bbb7d03de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-32482: Improve syntax and grammar tests. (#5085)Serhiy Storchaka2018-01-041-4/+4
|
* bpo-32416: Add two new tests in test_sys_settrace. (GH-5072) (#5074)Miss Islington (bot)2018-01-011-8/+30
| | | | Move other test to more proper place. (cherry picked from commit e8ed96550c6aa9a1e39c36e67e892994e25e2c41)
* [2.7] bpo-32416: Refactor tests for the f_lineno setter and add new tests. ↵Serhiy Storchaka2017-12-271-235/+395
| | | | | (GH-4991). (#5017) (cherry picked from commit 53f9135667226f33e049e327db60fb033afbd77a)
* Issue #20041: Fixed TypeError when frame.f_trace is set to None.Serhiy Storchaka2016-06-041-0/+9
| | | | Patch by Xavier de Gaye.
* pop the loop block even for infinite while loops (closes #23048)Benjamin Peterson2014-12-131-0/+11
|
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | Patch by Serhiy Storchaka.
* SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ↵Benjamin Peterson2012-04-181-0/+11
| | | | (closes #14612)
* Enable the only tests for sys.gettraceAmaury Forgeot d'Arc2011-10-051-2/+2
|
* Fix merge of r83140 again.Alexander Belopolsky2010-07-281-0/+789
|
* Adding this file lost historyAlexander Belopolsky2010-07-281-214/+0
|
* Redo r83142 merge manually. QOTD: svnmerge isn't really your best friendAlexander Belopolsky2010-07-281-0/+214
|
* Reverted r83142: bad svnmergeAlexander Belopolsky2010-07-281-790/+0
|
* Merged revisions 83140-83141 via svnmerge fromAlexander Belopolsky2010-07-251-0/+790
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines Issue #9315: Renamed test_trace to test_sys_settrace and test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency. ........ r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line Corrected comments on where settrace and setprofile are tested. ........