summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge: Closes #18464: fix typo in test name.R David Murray2013-07-151-1/+1
|\
| * Closes #18464: fix typo in test name.R David Murray2013-07-151-1/+1
| |
* | Close issue 17482: don't overwrite __wrapped__Nick Coghlan2013-07-151-3/+11
| |
* | mergeRaymond Hettinger2013-07-141-1/+1
|\ \ | |/
| * Issue #18432: Fix unintended API change in the sched moduleRaymond Hettinger2013-07-141-1/+1
| |
* | Merge: #18431: Decode encoded words in atoms in new email parser.R David Murray2013-07-122-1/+49
|\ \ | |/
| * #18431: Decode encoded words in atoms in new email parser.R David Murray2013-07-122-1/+49
| | | | | | | | | | | | There is more to be done here in terms of accepting RFC invalid input that some mailers accept, but this covers the valid RFC places where encoded words can occur in structured headers.
* | Issue #18342: Use the repr of a module name for ``from ... importBrett Cannon2013-07-121-0/+8
| | | | | | | | | | | | | | | | ...`` when an ImportError occurs. Other cases had already been switched over to using the repr. Thanks to Tomasz Maćkowiak for the patch.
* | Merge: #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=R David Murray2013-07-113-4/+51
|\ \ | |/
| * #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=R David Murray2013-07-113-4/+51
| | | | | | | | | | | | | | | | | | | | The problem was I was only checking for decimal digits after the third '?', not for *hex* digits :(. This changeset also fixes a couple of comment typos, deletes an unused function relating to encoded word parsing, and removed an invalid 'if' test from the folding function that was revealed by the tests written to validate this issue.
* | Issue #17872: Fix a segfault in marshal.load() when input stream returnsSerhiy Storchaka2013-07-111-0/+12
|\ \ | |/ | | | | more bytes than requested.
| * Issue #17872: Fix a segfault in marshal.load() when input stream returnsSerhiy Storchaka2013-07-111-0/+12
| | | | | | | | more bytes than requested.
* | Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+60
|\ \ | |/ | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
| * Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+60
| | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* | Issue #18338: `python --version` now prints version string to stdout, andSerhiy Storchaka2013-07-111-2/+4
| | | | | | | | not to stderr. Patch by Berker Peksag and Michael Dickens.
* | Merge #17987: properly document support.captured_xxx.R David Murray2013-07-112-9/+27
|\ \ | |/
| * #17987: properly document support.captured_xxx.R David Murray2013-07-112-9/+27
| | | | | | | | Patch by Dmi Baranov.
* | #18116: getpass no longer always falls back to stdin.R David Murray2013-07-101-7/+13
| | | | | | | | | | | | | | | | Also fixes a resource warning that occurred when the fallback is taken. Patch by Serhiy Storchaka. (We couldn't figure out how to write tests for this.)
* | Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
|\ \ | |/ | | | | addresses.
| * Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
| | | | | | | | addresses.
* | Add a spacing saving heuristic to deque's extend methodsRaymond Hettinger2013-07-091-2/+2
| |
* | Merge str.center tests from 3.3.Ezio Melotti2013-07-081-0/+9
|\ \ | |/
| * Add a couple of tests for str.center with non-ASCII chars.Ezio Melotti2013-07-081-0/+9
| |
* | #18106: refactor tests to use subtests and proper assert methods. Patch by ↵Ezio Melotti2013-07-071-35/+42
| | | | | | | | Vajrasky Kok.
* | #17198: merge with 3.3.Ezio Melotti2013-07-071-2/+16
|\ \ | |/
| * #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova.Ezio Melotti2013-07-071-2/+16
| |
* | Merge #18013: Fix cgi.FieldStorage to parse the W3C sample form.Florent Xicluna2013-07-071-0/+46
|\ \ | |/
| * Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form.Florent Xicluna2013-07-071-0/+46
| |
* | merge for issue #18351.Brett Cannon2013-07-061-0/+36
|\ \ | |/
| * Issue #18351: Fix various issues withBrett Cannon2013-07-061-1/+37
| | | | | | | | | | | | | | | | | | importlib._bootstrap._get_sourcefile(). Thanks to its only use by the C API, it was never properly tested until now. Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
* | #18380: merge with 3.3.Ezio Melotti2013-07-061-0/+4
|\ \ | |/
| * #18380: pass regex flags to the right argument. Patch by Valentina ↵Ezio Melotti2013-07-061-0/+4
| | | | | | | | Mukhamedzhanova.
* | test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
|\ \ | |/
| * test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
| |
* | Issue #18375: merge with 3.3Florent Xicluna2013-07-061-0/+1
|\ \ | |/
| * Issue #18375: Assume --randomize when --randseed is used for running the ↵Florent Xicluna2013-07-061-0/+1
| | | | | | | | testsuite.
* | Speed-up deque indexing by changing the deque block length to a power of two.Raymond Hettinger2013-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The division and modulo calculation in deque_item() can be compiled to fast bitwise operations when the BLOCKLEN is a power of two. Timing before: ~/cpython $ py -m timeit -r7 -s 'from collections import deque' -s 'd=deque(range(10))' 'd[5]' 10000000 loops, best of 7: 0.0627 usec per loop Timing after: ~/cpython $ py -m timeit -r7 -s 'from collections import deque' -s 'd=deque(range(10))' 'd[5]' 10000000 loops, best of 7: 0.0581 usec per loop
* | Issue #18347: ElementTree's html serializer now preserves the case of ↵Christian Heimes2013-07-041-0/+7
|\ \ | |/ | | | | closing tags.
| * Issue #18347: ElementTree's html serializer now preserves the case of ↵Christian Heimes2013-07-041-0/+7
| | | | | | | | closing tags.
* | Issue #15767: Excise the remaining instances of ModuleNotFoundErrorBrett Cannon2013-07-045-22/+22
| |
* | Remove dead code in test_exceptions.Brett Cannon2013-07-041-3/+0
| |
* | Move test_import over to unittest.main().Brett Cannon2013-07-041-14/+2
| |
* | Issue #15767: back out 8a0ed9f63c6e, finishing the removal ofBrett Cannon2013-07-047-22/+23
| | | | | | | | ModuleNotFoundError.
* | Issue #15767: Back out 8d28d44f3a9a related to ModuleNotFoundError.Brett Cannon2013-07-041-7/+0
| |
* | Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.Antoine Pitrou2013-07-041-1/+7
|\ \ | |/
| * Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.Antoine Pitrou2013-07-041-1/+7
| |
* | (Merge 3.3) test_time.test_monotonic(): use a longer sleep to try to make ↵Victor Stinner2013-07-031-2/+2
|\ \ | |/ | | | | the test more reliable
| * test_time.test_monotonic(): use a longer sleep to try to make the test more ↵Victor Stinner2013-07-031-2/+2
| | | | | | | | reliable
* | (Merge 3.3) test_faulthandler: skip test_read_null() on AIXVictor Stinner2013-07-031-0/+2
|\ \ | |/ | | | | | | | | | | AIX maps the first page of memory at address zero as valid, read-only. Reading NULL is not a fault on AIX. This is utilized by IBM compiler optimizations. One speculatively can indirect through a pointer which may be null without first testing if null and defer the test before using the value.
| * test_faulthandler: skip test_read_null() on AIXVictor Stinner2013-07-031-0/+2
| | | | | | | | | | | | | | AIX maps the first page of memory at address zero as valid, read-only. Reading NULL is not a fault on AIX. This is utilized by IBM compiler optimizations. One speculatively can indirect through a pointer which may be null without first testing if null and defer the test before using the value.