summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #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.
* | Issue #18339: use with self.assertRaises() to make test case more readableChristian Heimes2013-07-011-2/+4
|\ \ | |/
| * Issue #18339: use with self.assertRaises() to make test case more readableChristian Heimes2013-07-011-2/+4
| |
* | Issue #17097: Merge.Richard Oudkerk2013-07-011-1/+69
|\ \ | |/
| * Issue #17097: Make multiprocessing ignore EINTR.Richard Oudkerk2013-07-011-1/+69
| |
* | Merge with current defaultŁukasz Langa2013-07-011-0/+7
|\ \
| * \ Issue #18339: Negative ints keys in unpickler.memo dict no longer cause aChristian Heimes2013-07-011-0/+7
| |\ \ | | |/ | | | | | | segfault inside the _pickle C extension.
| | * Issue #18339: Negative ints keys in unpickler.memo dict no longer cause aChristian Heimes2013-07-011-0/+7
| | | | | | | | | | | | segfault inside the _pickle C extension.
* | | Issue #18244: Adopt C3-based linearization in functools.singledispatch for ↵Łukasz Langa2013-07-011-21/+153
|/ / | | | | | | improved ABC support
* | Issue 18240: The HMAC module is no longer restricted to bytes and acceptsChristian Heimes2013-07-011-0/+14
| | | | | | | | any bytes-like object, e.g. memoryview. Original patch by Jonas Borgström.
* | Issue #18224: Updated test.Vinay Sajip2013-06-301-4/+0
|\ \ | |/
| * Issue #18224: Updated test.Vinay Sajip2013-06-301-4/+0
| |
| * #18038: Use non-deprecated assert names in tests.R David Murray2013-06-301-5/+5
| |
* | Merge #18155: Regex-escape delimiter, in case it is a regex special char.R David Murray2013-06-291-3/+39
|\ \ | |/
| * #18155: Regex-escape delimiter, in case it is a regex special char.R David Murray2013-06-291-3/+39
| | | | | | | | Patch by Vajrasky Kok, with slight modification to the tests by me.
* | Merge with 3.3Terry Jan Reedy2013-06-291-0/+5
|\ \ | |/
| * Issue #18103: Update README.txt and test_idle to describe and run gui tests.Terry Jan Reedy2013-06-291-0/+5
| |
* | Issue #18322: fix some test_stat nits.Antoine Pitrou2013-06-291-11/+7
| |
* | Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() whereCharles-François Natali2013-06-281-6/+2
| | | | | | | | applicable.
* | Merge #14360: make encoders.encode_quopri work.R David Murray2013-06-271-0/+29
|\ \ | |/
| * #14360: make encoders.encode_quopri work.R David Murray2013-06-271-0/+29
| | | | | | | | | | | | | | | | | | There were no tests for the encoders module. encode_base64 worked because it is the default and so got tested implicitly elsewhere, and we use encode_7or8bit internally, so that worked, too. I previously fixed encode_noop, so this fix means that everythign in the encoders module now works, hopefully correctly. Also added an explicit test for encode_base64.
| * Merge headsSerhiy Storchaka2013-06-231-11/+63
| |\
* | | test_gdb.py: ignore also "warning: Source file is more recent than ↵Victor Stinner2013-06-251-0/+1
| | | | | | | | | | | | executable." pattern
* | | Issue #17206: Fix test_cmd_line and test_faulthandler for my previous changeVictor Stinner2013-06-252-8/+17
| | | | | | | | | | | | | | | (test.regrtest and test.script_helper enable faulthandler module in subprocesses).
* | | Issue #17206: test.regrtest and test.script_helper enable faulthandler moduleVictor Stinner2013-06-252-2/+3
| | | | | | | | | | | | in subprocesses.