summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* TIMEOUT value change in URLTimeout Test. test.support.transient_internet has aSenthil Kumaran2010-12-151-1/+1
| | | | | | socket timeout of 30 when it checks for resource. Explicit overrding (like setting the 10) wont exhibit consistent behavior when tests are outside context manager. So, settting it 30.
* #4236: avoid possible Fatal Error when import is called from __del__R. David Murray2010-12-141-0/+13
| | | | Patch by Simon Cross, crasher test code by Martin von Löwis.
* More comprehensive compileall cli tests, and fixes.R. David Murray2010-12-141-75/+156
|
* SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)Gregory P. Smith2010-12-141-1/+1
|
* #775964: skip YP/NIS entries instead of failing the testR. David Murray2010-12-141-2/+6
| | | | | | | Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia.
* Fix "BytesWarning: str() on a bytes instance"Gregory P. Smith2010-12-141-1/+2
|
* Issue #1731717: Fixed the problem where subprocess.wait() could cause anGregory P. Smith2010-12-142-0/+16
| | | | | OSError exception when The OS had been told to ignore SIGCLD in our process or otherwise not wait for exiting child processes.
* #10695: use %s not %d so that a string 'port' does not cause a debug tracebackR. David Murray2010-12-141-0/+10
| | | | | | Passing the port as a string value works fine in regular mode, but if you turned debug on it would throw an error trying to print the port number, which is surprising and confusing.
* Issue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.Gregory P. Smith2010-12-141-0/+31
| | | | | | | | Issue #7213: Change the close_fds default on Windows to better match the new default on POSIX. True when possible (False if stdin/stdout/stderr are supplied). Update the documentation to reflect all of the above.
* Use skipIf instead of a return when attribute doesn't exist.R. David Murray2010-12-141-2/+2
|
* Issue 10687. When --without-pymalloc is given, $VERSION is the same asBarry Warsaw2010-12-131-1/+1
| | | | | | | $LDVERSION, which screws up the sym/hard-links. This avoids those games when $VERSION == $LDVERSION. Also, include a drive-by fix for an obvious syntax error.
* Captured IO streams with embedded backslashes are always such a fun ↵Nick Coghlan2010-12-131-2/+8
| | | | combination...
* issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag fromGregory P. Smith2010-12-135-0/+126
| | | | | the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.
* Get rid of the close_fds DeprecationWarning. Changes the default on a perGregory P. Smith2010-12-131-18/+1
| | | | | | platform basis. It remains False on Windows and changes to True on all other platforms (POSIX). Based on python-dev discussion and http://bugs.python.org/issue7213.
* Actually finish the tests for r87182Nick Coghlan2010-12-131-3/+5
|
* Issue #10188 (partial resolution): tidy up some behaviour in the new ↵Nick Coghlan2010-12-122-6/+46
| | | | tempfile.TemporaryDirectory context manager
* having three copies of the same test is surely a bit excessiveBenjamin Peterson2010-12-121-296/+0
|
* remove (un)transform methodsBenjamin Peterson2010-12-122-21/+3
|
* logging: added handler of last resort.Vinay Sajip2010-12-101-0/+35
|
* #10668: fix wrong call of __init__.Georg Brandl2010-12-101-1/+1
|
* Fied typoVinay Sajip2010-12-101-1/+1
|
* test.support: Added TestHandler and Matcher classes for better support of ↵Vinay Sajip2010-12-101-2/+68
| | | | assertions about logging.
* Fixed typo in comment.Hirokazu Yamamoto2010-12-091-1/+1
|
* Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for ↵Alexander Belopolsky2010-12-085-2/+30
| | | | NULL
* Have script_helper._assert_python strip refcount strings from stderr.R. David Murray2010-12-081-1/+3
| | | | | | This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build.
* Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP charactersVictor Stinner2010-12-081-0/+12
| | | | Fix the doc and add tests.
* Update whatsnew. Salt the random number seed.Raymond Hettinger2010-12-081-2/+2
|
* return views from dict proxy items/values/keys #10630Benjamin Peterson2010-12-071-5/+11
|
* Temporarily disable newly failing test for the release.Georg Brandl2010-12-051-0/+3
|
* More fine-grained monitoring of alterations to logging stateNick Coghlan2010-12-051-4/+10
|
* Issue 10626 investigation: regrtest now checks for alterations to the ↵Nick Coghlan2010-12-051-1/+11
| | | | logging state in the current process (and yes, test_pydoc alters it)
* Should use posix_error here.Hirokazu Yamamoto2010-12-051-1/+1
|
* Avoid possible zombi process.Hirokazu Yamamoto2010-12-051-2/+4
|
* Now can reproduce the error on AMD64 Windows Server 2008Hirokazu Yamamoto2010-12-051-16/+21
| | | | even where os.symlink is not supported.
* configparser: mapping protocol access get() handles configparser-specific ↵Łukasz Langa2010-12-041-0/+43
| | | | arguments as well
* Use proper plural forms in argparse (#4391)Éric Araujo2010-12-041-1/+1
|
* Issue #10601: sys.displayhook uses 'backslashreplace' error handler onVictor Stinner2010-12-041-0/+18
| | | | UnicodeEncodeError.
* More issue #10624: Add requires_IEEE_754 to __all__.Eric Smith2010-12-041-1/+1
|
* Fix test suite to not activate new sigint behavior in pdb.Georg Brandl2010-12-042-12/+13
|
* Issue 10625: Add tests for negative zeros in complex str and repr.Eric Smith2010-12-041-0/+16
|
* Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith2010-12-047-57/+31
|
* support for checking test coverage added.Łukasz Langa2010-12-041-2/+14
| | | | 70% coverage at the moment (not tragic but needs work).
* Issue #10624: Move requires_IEEE_754 into test.support. I'll fix up other ↵Eric Smith2010-12-042-6/+6
| | | | uses of it shortly.
* Removed static function complex_format, moved it into complex_repr. Modified ↵Eric Smith2010-12-041-16/+20
| | | | tests to check both str and repr, which are the same for complex.
* configparser: fixed inconsistency where in SafeConfigParser option valuesŁukasz Langa2010-12-041-0/+23
| | | | | were ensured to be strings but section names and option keys were not. Behaviour unchanged for RawConfigParser and ConfigParser.
* Issue #10596: Fix float.__mod__ to have the same behaviour asMark Dickinson2010-12-041-0/+20
| | | | float.__divmod__ with respect to signed zeros.
* #7905: Actually respect the keyencoding parameter to shelve.Shelf.Georg Brandl2010-12-041-0/+13
|
* #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵Georg Brandl2010-12-041-0/+6
| | | | the code follows unicode_repeat.
* #1513299: cleanup some map() uses where a comprehension works better.Georg Brandl2010-12-042-2/+2
|
* Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl2010-12-043-0/+54
| | | | and provide an interface to it in py_compile, compileall and PyZipFile.