Commit Graph

15432 Commits

Author SHA1 Message Date
Florent Xicluna 58526417ed Do not print the header lines when running a single test. 2010-03-06 17:24:36 +00:00
Vinay Sajip 1adbee226e Added checks for tuples in dictConfig. 2010-03-06 15:56:03 +00:00
Vinay Sajip d45a278b93 Added schema version test in dictConfig. 2010-03-06 15:12:08 +00:00
Florent Xicluna 12d750d6b8 Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor adjustments. 2010-03-06 14:38:09 +00:00
Florent Xicluna 0b9a18a42f #6906: TCL_LIBRARY and TK_LIBRARY environment variables should be encoded. 2010-03-06 11:01:08 +00:00
Florent Xicluna aa90db9477 #2777: Apply same recipe on win32, i.e. do not inherit file handles. 2010-03-06 09:54:14 +00:00
Florent Xicluna b7c20028fe Print platform information to stdout, to help troubleshooting platform-specific failures. 2010-03-06 09:11:55 +00:00
Florent Xicluna 0932dc5671 Keep the test files in the ./build/ subdirectory, if Python is not installed.
Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
2010-03-06 08:07:44 +00:00
Gregory P. Smith 467298cb42 Call setreuid and setregid in a subprocess to avoid altering the test runner's
process state.  Should fix issue8045.
2010-03-06 07:35:19 +00:00
Tarek Ziadé c49b6efbca search in the alternative location for VCExpress 2010-03-06 02:17:28 +00:00
Tarek Ziadé 5501e6a7da fixed various failures and environment alterations in distutils.test_build_ext 2010-03-06 02:11:14 +00:00
Tarek Ziadé 895ee2419d files used by win32 tests 2010-03-06 01:27:09 +00:00
Tarek Ziadé 7e48ff8e50 simplified the fallback case 2010-03-06 01:23:21 +00:00
Tarek Ziadé fbf50b8c7c provide a fallback for xxmodule.c in case the buildir is not present 2010-03-06 01:18:27 +00:00
Tarek Ziadé b30868a391 copied back the build_ext tests from 2.6 2010-03-06 01:04:14 +00:00
Florent Xicluna af9a06a77f #2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds. 2010-03-06 00:16:57 +00:00
Vinay Sajip d77eb9a839 Factored out time usage determination into a method, to facilitate alternative formatting implementations in the future. 2010-03-05 22:11:24 +00:00
Florent Xicluna cecef392f1 #2777: Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot). 2010-03-05 19:31:21 +00:00
Mark Dickinson 1c0c78c61f Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
Also clean up related tests in test_struct.
The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
2010-03-05 14:36:20 +00:00
Gerhard Häring 3bbb67273a Merged code from pysqlite 2.6.0. 2010-03-05 09:12:37 +00:00
Benjamin Peterson 2bb66e03b7 Merged revisions 78679,78681 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r78679 | benjamin.peterson | 2010-03-04 21:10:46 -0600 (Thu, 04 Mar 2010) | 1 line

  set svn:eol-style
........
  r78681 | benjamin.peterson | 2010-03-04 21:19:06 -0600 (Thu, 04 Mar 2010) | 1 line

  remove svn:executable property
........
2010-03-05 03:24:17 +00:00
Benjamin Peterson b3be23ad27 remove the svn:executable property from files that don't have shebang lines 2010-03-05 03:20:06 +00:00
Florent Xicluna 7272acfabe These line should not be there. 2010-03-05 01:12:14 +00:00
Florent Xicluna d6935631da Let's use assertIsNone / assertIsNotNone. It's hype. 2010-03-05 01:05:55 +00:00
Florent Xicluna 80e0e2d2d8 Workaround #3137: Retry SIGINT if it is not received the first time.
test_send_signal should not hang anymore on various Linux distributions.
2010-03-05 00:47:40 +00:00
Tarek Ziadé dd7bef9bf5 reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged 2010-03-05 00:16:02 +00:00
Florent Xicluna ab5e17f896 #2777: Enable test_send_signal, test_kill and test_terminate on all platforms. 2010-03-04 21:31:58 +00:00
Florent Xicluna bab22a7c6d Cleanup. 2010-03-04 19:40:48 +00:00
Dirkjan Ochtman 19c9b6042e Try to fix buildbot breakage from r78384.
Thanks bitdancer and briancurtin for the help.
2010-03-04 19:21:53 +00:00
Florent Xicluna 3bc5cb7e0d #7805: wait until all workers are started before collecting their PIDs 2010-03-04 15:58:54 +00:00
Florent Xicluna a36e245deb Fix transient refleak in test_popen2. 2010-03-04 15:57:20 +00:00
Victor Stinner 7c924ec925 Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public Review
Issue #29.

PR #29 was released in february 2004!
2010-03-04 12:09:33 +00:00
Benjamin Peterson e689a889da set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
Lars Gustäbel 6458104188 Issue #7232: Add support for the context manager protocol
to the TarFile class.
2010-03-03 11:55:48 +00:00
Florent Xicluna 9e220be19d Fix wording. 2010-03-02 23:56:38 +00:00
Benjamin Peterson 842b95b030 plug ref leaks 2010-03-02 23:43:47 +00:00
Victor Stinner d23d3930ff Issue #7820: The parser tokenizer restores all bytes in the right if the BOM
check fails.

Fix an assertion in pydebug mode.
2010-03-02 23:20:02 +00:00
Benjamin Peterson 0e717addd8 remove cross-version compatibility code 2010-03-02 23:02:02 +00:00
Benjamin Peterson bd56722a27 remove code to avoid BaseException.message bug 2010-03-02 22:58:01 +00:00
Florent Xicluna c0a9d4152d Test test_pep277 is only relevant for Unicode-friendly filesystems. 2010-03-02 22:34:11 +00:00
Benjamin Peterson fa31eaa5f6 convert deprecated fail* methods to assert* variants 2010-03-02 22:26:25 +00:00
Benjamin Peterson e4d90c23a3 use test_main() in __main__ section 2010-03-02 22:24:30 +00:00
Benjamin Peterson 4aa8a13b86 prevent warning filter adjustment from altering other tests 2010-03-02 22:23:33 +00:00
Benjamin Peterson 036fae39ac enable running of argparse tests and fix two that failed in the new environment 2010-03-02 22:20:10 +00:00
Benjamin Peterson 5e32fe5f9d remove another coding cookie 2010-03-02 22:08:40 +00:00
Benjamin Peterson a39e966e97 set svn:eol-style 2010-03-02 22:05:59 +00:00
Benjamin Peterson c1df5460c5 remove coding cookie as mandated by PEP 8 2010-03-02 22:03:03 +00:00
Florent Xicluna 2db61fb7a8 Tentatively enable test_pep277 on all platforms. 2010-03-02 21:34:45 +00:00
Florent Xicluna d8472a4545 Refactor test_dict using assertRaises. 2010-03-02 16:00:00 +00:00
Steven Bethard e9330e7941 Initial commit of the argparse library, based on argparse 1.1.
Docs still need some updating to make getopt and optparse match the wording promised in the PEP.
There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
2010-03-02 08:38:09 +00:00