summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
Commit message (Collapse)AuthorAgeFilesLines
* Add test case for #43581.Martin v. Löwis2006-04-031-0/+5
|
* Disable a few other tests, that can't work if Python is compiled withoutWalter Dörwald2005-08-031-1/+2
| | | | Unicode support.
* Whitespace normalization.Tim Peters2005-02-151-2/+2
|
* Test that SystemExits are handled properly by the exit machinery. IMichael W. Hudson2005-02-151-0/+12
| | | | | broke the "raise SystemExit(46)" case when doing new-style exceptions, but I'd much rather have found out here than in test_tempfile (growl).
* New function sys.getcheckinterval(), to complement setcheckinterval().Tim Peters2003-07-061-2/+4
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-3/+1
| | | | | | | | | | 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.
* Reindent the new code properly.Guido van Rossum2003-03-011-22/+22
|
* - New function sys.exc_clear() clears the current exception. This isGuido van Rossum2003-03-011-0/+44
| | | | | | rarely needed, but can sometimes be useful to release objects referenced by the traceback held in sys.exc_info()[2]. (SF patch #693195.) Thanks to Kevin Jacobs!
* Whitespace normalization.Tim Peters2003-02-191-10/+10
|
* Fix SF bug #688424, 64-bit test problemsNeal Norwitz2003-02-181-1/+1
|
* Fix typo.Walter Dörwald2003-02-031-1/+1
|
* Add a new test script that tests various features of the sysWalter Dörwald2003-02-031-0/+211
module. This increases code coverage of Python/sysmodule.c from 68% to 77% (on Linux). The script doesn't exercise the error branch that handles an evil or lost sys.excepthook in Python/pythonrun.c::PyErr_PrintEx(). Also this script might not work on Jython in its current form. From SF patch #662807.