summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #18503: small cleanups in test_email.R David Murray2013-07-251-2/+2
| | | | Patch by Vajrasky Kok.
* #14853: remove test that was making too many assumptions about stdin. Patch ↵Ezio Melotti2013-07-251-10/+0
| | | | by Elena Oat.
* Issue #17944: test_zipfile now discoverable and uses subclassing toSerhiy Storchaka2013-07-221-849/+562
| | | | | generate tests for different compression types. Fixed a bug with skipping some tests due to use of exhausted iterators.
* Prevent dangling threads/process warning for test_multiprocessing.Richard Oudkerk2013-07-191-4/+7
|
* Issue #18266: test_largefile now works with unittest test discovery andSerhiy Storchaka2013-07-171-63/+51
| | | | supports running only selected tests. Patch by Zachary Ware.
* Issue #17767: test_locale now works with unittest test discovery.Serhiy Storchaka2013-07-171-58/+36
| | | | Original patch by Zachary Ware.
* Closes #18475: add unittest.main() to test_email/test_inversions.R David Murray2013-07-161-0/+4
| | | | Patch by Vajrasky Kok.
* Issue #17778: Fix test discovery for test_multiprocessing. (Patch byRichard Oudkerk2013-07-161-122/+104
| | | | Zachary Ware.)
* Closes #18464: fix typo in test name.R David Murray2013-07-151-1/+1
|
* Issue #18432: Fix unintended API change in the sched moduleRaymond Hettinger2013-07-141-1/+1
|
* #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.
* #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 #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().
* #17987: properly document support.captured_xxx.R David Murray2013-07-112-9/+27
| | | | Patch by Dmi Baranov.
* Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
| | | | addresses.
* Add a couple of tests for str.center with non-ASCII chars.Ezio Melotti2013-07-081-0/+9
|
* #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova.Ezio Melotti2013-07-071-2/+16
|
* Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form.Florent Xicluna2013-07-071-0/+46
|
* 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: 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
|
* Issue #18375: Assume --randomize when --randseed is used for running the ↵Florent Xicluna2013-07-061-0/+1
| | | | testsuite.
* Issue #18347: ElementTree's html serializer now preserves the case of ↵Christian Heimes2013-07-041-0/+7
| | | | closing tags.
* Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.Antoine Pitrou2013-07-041-1/+7
|
* test_time.test_monotonic(): use a longer sleep to try to make the test more ↵Victor Stinner2013-07-031-2/+2
| | | | reliable
* 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 #17097: Make multiprocessing ignore EINTR.Richard Oudkerk2013-07-011-1/+69
|
* 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 #18224: Updated test.Vinay Sajip2013-06-301-4/+0
|
* #18038: Use non-deprecated assert names in tests.R David Murray2013-06-301-5/+5
|
* #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.
* Issue #18103: Update README.txt and test_idle to describe and run gui tests.Terry Jan Reedy2013-06-291-0/+5
|
* #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
|\
| * Fixed issue #18260: configparser TypeError on source name specified as bytesŁukasz Langa2013-06-231-11/+63
| |
* | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raiseSerhiy Storchaka2013-06-231-0/+2
|/ | | | OverflowError when an argument of %c format is out of range.
* Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵Christian Heimes2013-06-231-4/+7
| | | | | | lstat to compensate for symlinks.
* Issue #18137: Detect integer overflow on precision in float.__format__() andVictor Stinner2013-06-231-0/+17
| | | | complex.__format__().
* #18113: avoid segfault if Py_XDECREF triggers code that calls ↵Andrew Kuchling2013-06-221-0/+9
| | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
* BSD: block devices are goneChristian Heimes2013-06-221-1/+1
| | | | http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
* Fix test_stat on BSD, /dev/da0 and /dev/ad0 are linksChristian Heimes2013-06-211-1/+2
|
* Add tests for untested features of the 'stat' module (part of issue #11016)Christian Heimes2013-06-211-13/+132
|
* Issue #18202: Fix minor bugs and cleanup test_coding.py.Serhiy Storchaka2013-06-191-17/+15
|
* test_faulthandler: use _sigsegv() instead of _read_null()Victor Stinner2013-06-171-5/+5
| | | | faulthandler._read_null() is not reliable: it does not crash on AIX.
* Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIXVictor Stinner2013-06-171-0/+4
| | | | | sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX.
* regrtest.py: Fix another typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-1/+1
|
* regrtest.py: Fix typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-3/+3
|
* Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-dataSerhiy Storchaka2013-06-171-0/+23
| | | | when \r\n appears at end of 65535 bytes without other newlines.