| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #25108: Fixed test_traceback in the case when this test is run twice. | Serhiy Storchaka | 2015-09-20 | 1 | -6/+9 |
| | | | | | In this case __file__ is the name of precompiled file (*.py[co]). | ||||
| * | Issue #25108: Backported tests for traceback functions print_stack(), | Serhiy Storchaka | 2015-09-18 | 1 | -2/+44 |
| | | | | | format_stack(), and extract_stack() called without arguments. | ||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -2/+3 |
| | | |||||
| * | Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵ | Florent Xicluna | 2014-01-22 | 1 | -0/+10 |
| | | | | | IndentationError. | ||||
| * | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -2/+2 |
| | | | | | | | | | | | 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. ........ | ||||
| * | Issue #8313: traceback.format_exception_only() encodes unicode message to | Victor Stinner | 2010-05-05 | 1 | -0/+9 |
| | | | | | ASCII with backslashreplace error handler if str(value) failed | ||||
| * | Remove unused imports in test modules. | Georg Brandl | 2010-02-07 | 1 | -1/+1 |
| | | |||||
| * | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -1/+2 |
| | | |||||
| * | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -3/+3 |
| | | |||||
| * | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -2/+1 |
| | | | | | mistake. ( It may come in for sure tough) | ||||
| * | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+2 |
| | | | | | Patch by flox | ||||
| * | revert unintended changes | Benjamin Peterson | 2009-09-09 | 1 | -44/+0 |
| | | |||||
| * | tabbify | Benjamin Peterson | 2009-09-09 | 1 | -0/+44 |
| | | |||||
| * | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -17/+17 |
| | | |||||
| * | Add test for #3684. | Georg Brandl | 2009-06-04 | 1 | -0/+9 |
| | | |||||
| * | #1326077: fix traceback formatting of SyntaxErrors. This fixes two ↵ | Georg Brandl | 2009-04-05 | 1 | -12/+17 |
| | | | | | 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. | ||||
| * | fix strange errors when setting attributes on tracebacks #4034 | Benjamin Peterson | 2009-03-18 | 1 | -8/+0 |
| | | |||||
| * | #3342: In tracebacks, printed source lines were not indented since r62555. | Amaury Forgeot d'Arc | 2008-07-11 | 1 | -1/+1 |
| | | | | | #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine. | ||||
| * | Rename the test_traceback_print() function to traceback_print() to prevent | Brett Cannon | 2008-04-28 | 1 | -2/+2 |
| | | | | | test_capi from automatically calling the function. | ||||
| * | Fix a bug introduced by the warnings rewrite where tracebacks were being | Brett Cannon | 2008-04-28 | 1 | -2/+28 |
| | | | | | | | improperly indented. Closes issue #2699. | ||||
| * | Fix a bug in traceback.format_exception_only() that led to an error | Georg Brandl | 2006-09-24 | 1 | -0/+4 |
| | | | | | | being raised when print_exc() was called without an exception set. In version 2.4, this printed "None", restored that behavior. | ||||
| * | Bug #1531405, format_exception no longer raises an exception if | Neal Norwitz | 2006-08-04 | 1 | -4/+13 |
| | | | | | str(exception) raised an exception. | ||||
| * | Whitespace normalization. | Tim Peters | 2006-07-24 | 1 | -2/+2 |
| | | |||||
| * | Patch #1515343: Fix printing of deprecated string exceptions with a | Georg Brandl | 2006-07-24 | 1 | -2/+34 |
| | | | | | value in the traceback module. | ||||
| * | Fix the formatting of KeyboardInterrupt -- a bad issubclass() call. | Guido van Rossum | 2006-05-02 | 1 | -0/+6 |
| | | |||||
| * | reverting r45321: Patch #860326: traceback.format_exception_only() now | Anthony Baxter | 2006-04-13 | 1 | -21/+0 |
| | | | | | | | | | prepends the exception's module name to non-builtin exceptions, like the interpreter itself does. broke a number of doctests. should be discussed before checking in (see discussion on python-dev). | ||||
| * | Patch #860326: traceback.format_exception_only() now prepends the | Georg Brandl | 2006-04-12 | 1 | -0/+21 |
| | | | | | | exception's module name to non-builtin exceptions, like the interpreter itself does. | ||||
| * | Whitespace normalization. | Tim Peters | 2006-04-03 | 1 | -1/+1 |
| | | |||||
| * | traceback now shows error position for all SyntaxError subclasses, | Georg Brandl | 2006-03-31 | 1 | -0/+10 |
| | | | | | e.g. IndentationError. (bug #1447885) | ||||
| * | Increase code coverage in Python/structmember.c from 33% to 40% | Walter Dörwald | 2005-11-18 | 1 | -0/+8 |
| | | | | | (by forcing a call to the listmember() function). | ||||
| * | * Bumped up the sleep() delay to four seconds so this test will run | Raymond Hettinger | 2004-11-01 | 1 | -6/+9 |
| | | | | | | | reliably on WinME with FAT32. * Native speaker rewrite of the comment block. * Removed unnecessary backslashes from the multi-line function defintions. | ||||
| * | Bug #1057993: Use sleep() always instead of os.utime() possibly broken | Hye-Shik Chang | 2004-11-01 | 1 | -9/+5 |
| | | | | | in some platforms. | ||||
| * | Add a comment explains why we should modify mtime here. | Hye-Shik Chang | 2004-10-27 | 1 | -2/+4 |
| | | |||||
| * | Removed newly redundant embedded import. | Tim Peters | 2004-10-27 | 1 | -1/+0 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2004-10-27 | 1 | -1/+1 |
| | | |||||
| * | Paper over bug 1054615 by passing sane values to os.utime(). | Tim Peters | 2004-10-27 | 1 | -2/+5 |
| | | | | | | | | | | | The underlying bug still exists, but also existed in 2.3.4: import.c's load_source_module() returns NULL if PyOS_GetLastModificationTime() returns -1, but PyOS_GetLastModificationTime() doesn't set any exception when it returns -1, and neither does load_source_module() when it gets back -1. This leads to "SystemError: NULL result without error in PyObject_Call" on an import that fails in this way. | ||||
| * | SF #737473: Show up-to-date source code in tracebacks always. | Hye-Shik Chang | 2004-10-26 | 1 | -0/+41 |
| | | | | | | And add an optional argument 'filename' to linecache.checkcache() to enable checking caches per-file. | ||||
| * | Skip the test_nocaret test when running as jython. Jython happens to add | Finn Bock | 2002-11-06 | 1 | -1/+4 |
| | | | | | a caret in this case too. | ||||
| * | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
| * | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. :) | ||||
| * | Change the PyUnit-based tests to use the test_main() approach. This | Fred Drake | 2001-09-20 | 1 | -1/+7 |
| | | | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves. | ||||
| * | Fix compileall.py so that it fails on SyntaxErrors | Jeremy Hylton | 2001-04-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | The changes cause compilation failures in any file in the Python installation lib directory to cause the install to fail. It looks like compileall.py intended to behave this way, but a change to py_compile.py and a separate bug defeated it. Fixes SF bug #412436 This change affects the test suite, which contains several files that contain intentional errors. The solution is to extend compileall.py with the ability to skip compilation of selected files. In the test suite, rename nocaret.py and test_future[3..7].py to start with badsyntax_nocaret.py and badsyntax_future[3..7].py. Update the makefile to skip compilation of these files. Update the tests to use the name names for imports. NB compileall.py is changed so that compile_dir() returns success only if all recursive calls to compile_dir() also check success. | ||||
| * | Whitespace normalization. | Tim Peters | 2001-04-08 | 1 | -2/+2 |
| | | |||||
| * | Test that traceback module works with SyntaxErrors with or without carets. | Jeremy Hylton | 2001-03-21 | 1 | -0/+40 |
