summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Issue #18223: Refactor test_tarfile.Serhiy Storchaka2013-06-172-381/+345
| | | | | | | | | | | | * Use mixins for generating tests for different compression types. * Make test_tarfile discoverable. * Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue. * Add explicit test skips instead of reporting skipped tests as passed. * Wrap long lines. * Correct a comment for test_hardlink_extraction1. * Add support.requires_gzip. and some other minor enhancements.
* #18113: Objects associated to a curses.panel object with set_userptr() were ↵Andrew Kuchling2013-06-151-0/+13
| | | | | | leaked. Reported by Atsuo Ishimoto.
* Add tests for issue #18183.Serhiy Storchaka2013-06-121-3/+15
|
* remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵Benjamin Peterson2013-06-101-0/+3
| | | | (see #18183)
* Issue #18174: Fix fd leaks in tests.Richard Oudkerk2013-06-103-1/+5
|
* Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+2
| | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-0/+18
| | | | encoding now always contains an encoding name.
* #17691: test_univnewlines now works with unittest test discovery. Patch by ↵Ezio Melotti2013-06-081-21/+16
| | | | Zachary Ware.
* Issue #18094: test_uuid no more reports skipped tests as passed.Serhiy Storchaka2013-05-311-51/+27
|
* Backport bff16086f03b and bcaaaa00425b.Stefan Krah2013-05-291-0/+13
|
* Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-291-0/+4
| | | | character in _decimal.c.
* #17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.Senthil Kumaran2013-05-291-0/+12
| | | | This helps in handling certain types invalid urls in a conservative manner.
* Issue #15392: Do not run tests if threading/_thread not available. OtherwiseTerry Jan Reedy2013-05-291-8/+8
| | | | touchup test_idle. Rename README.txt.
* Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-281-0/+9
| | | | stream's read() returns more bytes than requested.
* Issue #17746: Skip test_shutil.test_non_matching_mode when run as root orSerhiy Storchaka2013-05-281-0/+4
| | | | on unsuitable platform/environment.
* Issue #18011: base64.b32decode() now raises a binascii.Error if there areSerhiy Storchaka2013-05-281-3/+5
| | | | | non-alphabet characters present in the input string to conform a docstring. Updated the module documentation.
* Use simple call to os.symlink for broken link (intended for previous commit)Jason R. Coombs2013-05-281-1/+1
|
* Issue #13772: Restored directory detection of targets in `os.symlink` on ↵Jason R. Coombs2013-05-281-8/+36
| | | | Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.
* Issue #15392: Create a unittest framework for IDLE.Terry Jan Reedy2013-05-281-0/+14
| | | | Preliminary patch by Rajagopalasarma Jayakrishnan.
* Issue #18063: fix some struct specifications in the tests for sys.getsizeof().Antoine Pitrou2013-05-251-5/+5
|
* Clean-up duplicated code in testsEli Bendersky2013-05-251-46/+0
|
* Issue #13612: handle unknown encodings without a buffer overflow.Eli Bendersky2013-05-251-0/+92
| | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka.
* Fix test_bad_address on Ubuntu 13.04Antoine Pitrou2013-05-251-1/+4
|
* Issue #17269: Workaround for a platform bug in getaddrinfo on OSXRonald Oussoren2013-05-241-0/+3
| | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations.
* add test for inequalityBenjamin Peterson2013-05-221-0/+6
|