summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Add some more outputAntoine Pitrou2011-01-031-0/+3
|
* Temporary debug output for intermittent failures in test_subprocessAntoine Pitrou2011-01-031-0/+4
|
* Add a subprocess test of remapping standard file descriptors (issue #1187).Antoine Pitrou2011-01-031-0/+48
|
* issue6643 - Two locks held within the threading module on each thread instanceGregory P. Smith2011-01-031-4/+147
| | | | | needed to be reinitialized after fork(). Adds tests to confirm that they are and that a potential deadlock and crasher bug are fixed (platform dependant).
* Mention --randseed in option listAntoine Pitrou2011-01-031-0/+1
|
* Issue #6293: Have regrtest.py echo back sys.flags. This is done by defaultAntoine Pitrou2011-01-031-3/+8
| | | | | in whole runs and enabled selectively using `--header` when running an explicit list of tests. Original patch by Collin Winter.
* Issue #10806, issue #9905: Fix subprocess pipes when some of the standardAntoine Pitrou2011-01-031-0/+52
| | | | | file descriptors (0, 1, 2) are closed in the parent process. Initial patch by Ross Lagerwall.
* Fix test_site for systems without unsetenv. Reported by Zsolt Cserna.Éric Araujo2011-01-031-2/+6
|
* test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools()Victor Stinner2011-01-031-0/+3
|
* test_socket: use context managers to close directly the socketVictor Stinner2011-01-031-34/+38
| | | | Fix ResourceWarning(unclosed socket) warnings. Patch written by Nadeem Vawda.
* test_xmlrpc: close the transport when doneVictor Stinner2011-01-031-0/+8
| | | | Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda.
* test_timeout: move testRecvfromTimeout() to a UDP-specific test caseVictor Stinner2011-01-031-22/+38
| | | | Fix a ResourceWarning(unclosed socket).
* test_sockserver: close servers when doneVictor Stinner2011-01-031-0/+2
|
* Removes the 'Call' class which is used to control execution order and is ↵Brian Quinlan2011-01-031-400/+167
| | | | unreliable on Windows
* Make C helper function more closely match the pure python version, and add ↵Raymond Hettinger2011-01-031-1/+14
| | | | tests.
* Skip hanging test.Martin v. Löwis2011-01-031-0/+1
|
* #8278: In the Windows implementation of stat() and utime(),Amaury Forgeot d'Arc2011-01-031-0/+5
| | | | | use time_t instead of int. This gives support for dates after 2038, at least when compiled with VS2003 or later, where time_t is 64bit.
* Issue #10798: Reject supporting concurrent.futures if the system hasMartin v. Löwis2011-01-031-72/+58
| | | | too few POSIX semaphores.
* #8013 follow-up:Georg Brandl2011-01-021-6/+20
| | | | | | * In asctime and ctime, properly remove the newline if the year has more than four digits * Consistent error message for both functions * Fix the test comments and add a check for the removed newline
* Issue #8013: Fixed testAlexander Belopolsky2011-01-021-2/+9
|
* Issue #8013: Fixed time.asctime segfault when OS's asctime failsAlexander Belopolsky2011-01-021-0/+3
|
* Relax test condition a lotAntoine Pitrou2011-01-021-2/+3
|
* Fix OrderedDic.pop() to work for subclasses that define __missing__().Raymond Hettinger2011-01-011-0/+15
|
* Make it easier to extend OrderedDict without breaking it.Raymond Hettinger2011-01-011-0/+8
|
* #10801: do not actually extract, just open() the files in the test zipfile.Georg Brandl2011-01-011-9/+4
|
* #10801: In zipfile, support different encodings for the header and the ↵Georg Brandl2011-01-012-0/+14
| | | | filenames. Patch by MvL, test by Eli Bendersky.
* Fix OrderedDict.setdefault() to work for subclasses that define __missing__().Raymond Hettinger2010-12-311-0/+6
|
* #9361: add some tests for calendar.leapdaysR. David Murray2010-12-311-0/+21
| | | | Patch by John Chandler.
* Issue #10788: Changed test_logging setUp logic to provide more information.Vinay Sajip2010-12-301-2/+6
|
* Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.Senthil Kumaran2010-12-291-0/+4
|
* Close stdout, clear ResourceWarningBrian Curtin2010-12-291-0/+1
|
* Fix #9333 on Windows XP, where os.symlink is not a possibility.Brian Curtin2010-12-291-1/+1
|
* Does not install a logging handler. Fixes issue 10626.Brian Quinlan2010-12-281-10/+3
|
* #9824: encode , and ; in cookie values so that browsers don't split on themR. David Murray2010-12-281-0/+8
| | | | | | | | There is a small chance of backward incompatibility here, but only for non-SimpleCookie applications reading SimpleCookie generated cookies. Even then, any such ap is likely to be handling escaped values already, and it would take a fairly perverse implementation of unescaping to fail to unescape these newly escaped chars, so the risk seems minimal.
* This file was obsolted by a number of adjustments to the os.symlink testsBrian Curtin2010-12-281-206/+0
| | | | on Windows, and is no longer needed by any tests or Lib/test/support.py
* Fix Issue10759 - html.parser.unescape() fails on HTML entities with ↵Senthil Kumaran2010-12-281-0/+5
| | | | incorrect syntax
* Fix #9333. The symlink function is always available now, raising OSErrorBrian Curtin2010-12-289-27/+38
| | | | when the user doesn't hold the symbolic link privilege rather than hiding it.
* Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ')Victor Stinner2010-12-281-1/+1
|
* Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8Victor Stinner2010-12-281-57/+46
| | | | | | | * Replace "bytes" by "bytes object" in struct error messages * Document the API change in What's new in Python 3.2 * Fix test_wave * Remove also ugly implicit conversions in test_struct
* #10767: update README in crashers; not all may have a bug entry and/or be fixed.Georg Brandl2010-12-281-14/+10
|
* #10777: fix iteration over dict keys while mutating the dict.Georg Brandl2010-12-281-0/+9
|
* #7056: runtest and runtest_inner don't use testdir, so drop it from their sigsR. David Murray2010-12-271-14/+8
| | | | | I've only tested regular runs and -j runs. If I've broken anything else I'm sure I'll hear about it sooner or later.
* Issue #10626: test_logging now preserves logger disabled states.Vinay Sajip2010-12-271-1/+9
|
* Issue #10774: test_logging now removes temp files created during tests.Vinay Sajip2010-12-271-7/+10
|
* Skip test that does not raise an error on Windows.R. David Murray2010-12-271-0/+2
| | | | | I'm assuming that the putative path from the malformed pth file is simply not found and therefore ignored.
* Escape file path before searching for it in output via regexR. David Murray2010-12-271-3/+7
|
* #5258/#10642: print fn, line, traceback and continue when .pth file is brokenR. David Murray2010-12-261-0/+48
| | | | | | | | | | If a .pth file contained an error, it could cause a traceback in site.py, terminating its processing. In 2.7 and 3.2, the interpreter will then not start. Previously, a message would print saying to use -v to get the traceback. In either case, the traceback generated for a failed .pth file did not include the .pth filename, making it difficult to debug the problem. Now site.py reports not only the .pth filename but also the line number causing the error, and just skips the remainder of the file.
* Issue #10763: subprocess.communicate() closes stdout and stderr if both areVictor Stinner2010-12-251-14/+20
| | | | | | pipes (bug specific to Windows). Improve also the unit test: write a portable unit test.
* Assign closed handles to None to make errors more obvious if they are used.Brian Quinlan2010-12-251-2/+2
|
* Better reporting of test failures on Windows.Brian Quinlan2010-12-241-3/+15
|