summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23943: Fix typos. Patch by Piotr Kasprzyk.Berker Peksag2015-04-146-7/+7
|
* Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-131-0/+13
| | | | writable text file.
* Issue #23309: Avoid a deadlock at shutdown if a daemon thread is abortedAntoine Pitrou2015-04-133-14/+67
| | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead.
* Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.Guido van Rossum2015-04-111-0/+7
|
* Issue #23062: Add a test for suppressing --version with argparse.SUPPRESS.Berker Peksag2015-04-101-28/+26
| | | | TestHelpVersionOptional was redundant.
* Suppress a couple more DeprecationWarnings in the test suite.R David Murray2014-06-111-1/+2
|
* Use assertRaisesRegex instead of deprecated assertRaisesRegexp.Serhiy Storchaka2015-04-101-2/+2
|
* Skip nntplib tests when transient errors captured.Berker Peksag2015-04-081-0/+5
|
* Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/Victor Stinner2015-04-071-3/+1
| | | | are down, don't use anymore in test_urllib2net
* Issue #22977: Remove unconditional import of ctypes.Serhiy Storchaka2015-04-061-1/+0
|
* Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-1/+2
| | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Open files in binary mode to avoid newlines transformation.Serhiy Storchaka2015-04-041-4/+4
|
* Escaped backslashes in docstrings.Serhiy Storchaka2015-04-031-3/+3
|
* Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped.Serhiy Storchaka2015-04-031-9/+10
|
* Issue #22351: Fix test_nntplib if the ssl module is missingVictor Stinner2015-04-031-9/+10
| | | | | @unittest.skipUnless(ssl, '...') doesn't work because the class body uses the nntplib.NNTP_SSL attribute which doesn't exist.
* Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString().Serhiy Storchaka2015-04-021-1/+123
|
* Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source().Serhiy Storchaka2015-04-024-10/+82
| | | | Made test XML files non-ASCII.
* Issue #16840: Fixed test_tcl for Tcl < 8.5.Serhiy Storchaka2015-04-021-4/+4
|
* Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
|
* Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-7/+39
| | | | arbitrary precision integers added in Tcl 8.5.
* Issue #22977: Fix test_exceptionsVictor Stinner2015-04-021-5/+8
|
* Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
|
* Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-0/+15
|
* Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-021-1/+9
| | | | Patch by Martin Panter.
* replace 512 bit dh key with a 2014 bit one (closes #23844)Benjamin Peterson2015-04-023-10/+8
| | | | Patch by Cédric Krier.
* Issue #23821: Fixed test_pdb failure under -O.Serhiy Storchaka2015-04-011-11/+15
|
* Issue #23838: linecache now clears the cache and returns an empty result onSerhiy Storchaka2015-04-011-3/+16
| | | | MemoryError.
* Issue #23799: Added test.support.start_threads() for running and cleaning upSerhiy Storchaka2015-04-018-80/+74
| | | | multiple threads.
* Issue #18473: Fixed pickle compatibility tests for optional modules.Serhiy Storchaka2015-03-311-10/+25
| | | | Added WindowsError to compatibility mappings.
* Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-312-2/+199
| | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
* #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-301-0/+109
| | | | | | | | | | This mimics get_param's error handling for the most part. It is slightly better in some regards as get_param can produce some really weird results for duplicate *0* parts. It departs from get_param slightly in that if we have a mix of non-extended and extended pieces for the same parameter name, the new parser assumes they were all supposed to be extended and concatenates all the values, whereas get_param always picks the non-extended parameter value. All of this error recovery is pretty much arbitrary decisions...
* Issue #22390: test.regrtest now emits a warning if temporary files orSerhiy Storchaka2015-03-291-15/+11
| | | | directories are left after running a test.
* Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorageDonald Stufft2015-03-291-0/+19
|
* Issue #23803: Fixed str.partition() and str.rpartition() when a separatorSerhiy Storchaka2015-03-291-0/+2
| | | | is wider then partitioned string.
* Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-284-12/+29
| | | | Free memory, unlock hanging threads.
* Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-OgVictor Stinner2015-03-271-1/+1
| | | | -Og does not optimize the C code, it's just "fast debugging".
* asyncio: Fix _SelectorTransport.__repr__() if the event loop is closedVictor Stinner2015-03-271-0/+5
|
* Check that failed writerow() doesn't produce change a file.Serhiy Storchaka2015-03-251-14/+16
|
* Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-251-0/+1
|
* Fixed bytes warnings when run tests with -vv.Serhiy Storchaka2015-03-242-6/+6
|
* Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-0/+47
| | | | writer failed in BufferedRWPair.close().
* Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-242-0/+21
| | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
* Added tests for mixed kinds of Unicode strings.Serhiy Storchaka2015-03-241-0/+150
|
* Issue #21560: An attempt to write a data of wrong type no longer causeSerhiy Storchaka2015-03-231-0/+33
| | | | GzipFile corruption. Original patch by Wolfgang Maier.
* #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-221-15/+54
| | | | | | | | Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me.
* Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.Ned Deily2015-03-221-1/+2
|
* Issue #22351: The nntplib.NNTP constructor no longer leaves the connectionSerhiy Storchaka2015-03-211-4/+98
| | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter.
* Issue #23681: Fixed Python 2 to 3 poring bugs.Serhiy Storchaka2015-03-202-7/+8
| | | | Indexing bytes retiurns an integer, not bytes.
* Issue #23136: _strptime now uniformly handles all days in week 0, includingSerhiy Storchaka2015-03-191-0/+18
| | | | Jan 30 of previous year. Based on patch by Jim Carroll.
* Issue #23700: Iterator of NamedTemporaryFile now keeps a reference toSerhiy Storchaka2015-03-191-0/+13
| | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda.