Serhiy Storchaka
|
63550ee1a2
|
Issue #25108: Fixed test_traceback in the case when this test is run twice.
In this case __file__ is the name of precompiled file (*.py[co]).
|
2015-09-20 08:38:40 +03:00 |
|
Serhiy Storchaka
|
62f0ffa861
|
Issue #25108: Backported tests for traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
|
2015-09-18 10:09:29 +03:00 |
|
Serhiy Storchaka
|
76249ea4a7
|
Issue #20532: Tests which use _testcapi now are marked as CPython only.
|
2014-02-07 10:06:05 +02:00 |
|
Florent Xicluna
|
edfd9addf6
|
Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError.
|
2014-01-22 01:33:59 +01:00 |
|
Ezio Melotti
|
2623a37852
|
Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
|
2010-11-21 13:34:58 +00:00 |
|
Victor Stinner
|
926fd4ee32
|
Issue #8313: traceback.format_exception_only() encodes unicode message to
ASCII with backslashreplace error handler if str(value) failed
|
2010-05-05 12:40:49 +00:00 |
|
Georg Brandl
|
a4f46e1292
|
Remove unused imports in test modules.
|
2010-02-07 17:03:15 +00:00 |
|
Ezio Melotti
|
dde5b94875
|
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
|
2010-02-03 05:37:26 +00:00 |
|
Ezio Melotti
|
aa98058cc4
|
use assert[Not]In where appropriate
|
2010-01-23 23:04:36 +00:00 |
|
Senthil Kumaran
|
ce8e33a095
|
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
|
2010-01-08 19:04:16 +00:00 |
|
Senthil Kumaran
|
3ddc435af6
|
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
|
2010-01-08 18:41:40 +00:00 |
|
Benjamin Peterson
|
93ed82048f
|
revert unintended changes
|
2009-09-09 11:42:57 +00:00 |
|
Benjamin Peterson
|
8246968b12
|
tabbify
|
2009-09-09 11:40:54 +00:00 |
|
Benjamin Peterson
|
5c8da86f3a
|
convert usage of fail* to assert*
|
2009-06-30 22:57:08 +00:00 |
|
Georg Brandl
|
4da2fa5517
|
Add test for #3684.
|
2009-06-04 18:59:58 +00:00 |
|
Georg Brandl
|
dc4a77159b
|
#1326077: fix traceback formatting of SyntaxErrors. This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space.
|
2009-04-05 14:24:52 +00:00 |
|
Benjamin Peterson
|
6ffe852f90
|
fix strange errors when setting attributes on tracebacks #4034
|
2009-03-18 20:52:15 +00:00 |
|
Amaury Forgeot d'Arc
|
2252d11c08
|
#3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
|
2008-07-11 21:45:06 +00:00 |
|
Brett Cannon
|
8dc4303297
|
Rename the test_traceback_print() function to traceback_print() to prevent
test_capi from automatically calling the function.
|
2008-04-28 04:50:06 +00:00 |
|
Brett Cannon
|
141534e56f
|
Fix a bug introduced by the warnings rewrite where tracebacks were being
improperly indented.
Closes issue #2699.
|
2008-04-28 03:23:50 +00:00 |
|
Georg Brandl
|
c7986cee76
|
Fix a bug in traceback.format_exception_only() that led to an error
being raised when print_exc() was called without an exception set.
In version 2.4, this printed "None", restored that behavior.
|
2006-09-24 12:50:24 +00:00 |
|
Neal Norwitz
|
ff4b63b80f
|
Bug #1531405, format_exception no longer raises an exception if
str(exception) raised an exception.
|
2006-08-04 04:50:21 +00:00 |
|
Tim Peters
|
0bbfd83250
|
Whitespace normalization.
|
2006-07-24 21:02:15 +00:00 |
|
Georg Brandl
|
c13c34c39d
|
Patch #1515343: Fix printing of deprecated string exceptions with a
value in the traceback module.
|
2006-07-24 14:09:56 +00:00 |
|
Guido van Rossum
|
8f6cbe1502
|
Fix the formatting of KeyboardInterrupt -- a bad issubclass() call.
|
2006-05-02 17:36:09 +00:00 |
|