summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15320: Make iterating the list of tests thread-safe when running ↵Antoine Pitrou2012-07-251-12/+28
| | | | | | tests in multiprocess mode. Patch by Chris Jerdonek.
* Better test for Issue #15402: Add a __sizeof__ method to struct.StructJesus Cea2012-07-231-4/+4
|
* Issue #15402: Add a __sizeof__ method to struct.Struct.Meador Inge2012-07-231-0/+10
| | | | Initial patch by Serhiy Storchaka.
* Consistently raise a TypeError when a non str is passed to hashlib.newGregory P. Smith2012-07-221-6/+3
| | | | regardless of which of the two implementations of new is used.
* #13922: argparse no longer incorrectly strips '--' after the first one.R David Murray2012-07-221-12/+26
| | | | Patch by Jeff Knupp.
* #12353: argparse now correctly handles null argument values.R David Murray2012-07-221-0/+1
| | | | Patch by Torsten Landschoff.
* Fix test_pprint random dict ordering.Florent Xicluna2012-07-211-2/+3
|
* Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with ↵Florent Xicluna2012-07-211-0/+9
| | | | unorderable key.
* Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after ↵Antoine Pitrou2012-07-201-4/+26
| | | | | | error handling. Patch by Serhiy Storchaka.
* Use posixpath.join() explicitely in posixpath.join() testHynek Schlawack2012-07-171-1/+1
| | | | Used os.path.join before which has different semantics on Windows.
* #15377: Make posixpath.join() more strict when checking for str/bytes mixHynek Schlawack2012-07-171-10/+14
| | | | Based on a patch by Nick Coghlan.
* Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp ↵Nick Coghlan2012-07-171-1/+1
| | | | dir symlink in the test suite
* Fix context manager use in posixpath.join() testsHynek Schlawack2012-07-171-9/+12
| | | | The asserts were useless (and buggy).
* one more test fix for systems without select.poll. tested by deletingGregory P. Smith2012-07-161-3/+6
| | | | | select.poll before running. works both ways (finally). this should fix the windows build.
* Fix unchecked select.poll reference in setUp and tearDown forGregory P. Smith2012-07-161-5/+7
| | | | platforms that don't have it.
* Fix the with_poll tests for platforms without poll. missing import.Gregory P. Smith2012-07-161-0/+1
|
* Fixes Issue #14635: telnetlib will use poll() rather than select() when possibleGregory P. Smith2012-07-161-7/+89
| | | | to avoid failing due to the select() file descriptor limit.
* #15180: Clarify posixpath.join() error message when mixing str & bytesHynek Schlawack2012-07-151-2/+9
|
* Close #15230: runpy.run_path now sets __package__ correctly. Also refactored ↵Nick Coghlan2012-07-141-156/+268
| | | | the runpy tests to use a more systematic approach
* Try other approach to fix issue #15334.Antoine Pitrou2012-07-131-3/+8
|
* Issue #15334: skip test_dynamic_key when run in non-interactive mode.Antoine Pitrou2012-07-131-0/+1
| | | | Patch by Jeremy Kloth.
* Issue #15338: skip test_UNC_path when the current user doesn't have enough ↵Antoine Pitrou2012-07-131-0/+7
| | | | permissions to access the path.
* Issue #15300: Ensure the temporary test working directories are in the same ↵Antoine Pitrou2012-07-111-1/+5
| | | | | | parent folder when running tests in multiprocess mode from a Python build. Patch by Chris Jerdonek.
* Backport test for nested namespace packages.Antoine Pitrou2012-07-091-2/+44
|
* revert the changes done for issue14826 - quoting witin Request is not desirable.Senthil Kumaran2012-07-091-5/+0
|
* Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-081-0/+5
| | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
* Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding ↵Florent Xicluna2012-07-071-0/+4
| | | | declaration.
* Issue #15247: FileIO now raises an error when given a file descriptor ↵Antoine Pitrou2012-07-061-0/+8
| | | | pointing to a directory.
* Fix issue # 15033 - Return the proper exitcode for failure when modules are ↵Senthil Kumaran2012-07-051-0/+15
| | | | invoked using -m switch. Patch contributed by Jeff Knupp
* Issue #9239: add tests for modifying zipfile comments in append mode.Antoine Pitrou2012-06-301-0/+18
|
* Better diagnose test failureAntoine Pitrou2012-06-291-2/+2
|
* #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()Petri Lehtinen2012-06-291-0/+17
|
* #9559: Append data to single-file mailbox files if messages are only addedPetri Lehtinen2012-06-281-2/+27
| | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox.
* Flush stdout and stderr when running tests in parallelAntoine Pitrou2012-06-271-0/+2
| | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket)
* Issue #15079: make a test applicable to both C and Python versions of the ↵Antoine Pitrou2012-06-261-3/+5
| | | | | | pickle module. Patch by Stefan Mihaila.
* Backport test_nntplib fixes from default.Antoine Pitrou2012-06-251-2/+5
|
* Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the testGregory P. Smith2012-06-251-5/+5
| | | | | | | | to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1). This is an attempt to see if this change is what caused the ubuntu arm buildbot to hang in test_io's test_interrupted_write_retry_text. Discussion in Issue #12268.
* Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org.Georg Brandl2012-06-241-1/+1
|
* Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-241-0/+236
| | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
* Speed up test_io by >2x by reducing the sleep time using setitimer instead ofGregory P. Smith2012-06-241-5/+5
| | | | alarm for the signal tests.
* #10053: Don't close FDs when FileIO.__init__ failsHynek Schlawack2012-06-211-0/+11
| | | | Loosely based on the work by Hirokazu Yamamoto.
* Fix GzipFile's handling of filenames given as bytes objects.Nadeem Vawda2012-06-191-0/+14
|
* Ignore X-Antivirus headers in test_nntplibNick Coghlan2012-06-171-1/+4
|
* Issue #15095: Use better assertions in test_imaplibNick Coghlan2012-06-171-5/+5
|
* Issue #15043: skip test_gdb if the custom hooks can't be loadedNick Coghlan2012-06-171-0/+9
|
* #15036: Make a repeated changes and flushes work with single-file mailboxesPetri Lehtinen2012-06-151-0/+11
|
* Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-061-0/+30
| | | | | Previously multiprocessing only expected int or str. It also wrongly used an exit code of 1 when the argument was a string instead of zero.
* Issue #12157: pool.map() does not handle empty iterable correctlyRichard Oudkerk2012-06-061-3/+15
| | | | Initial patch by mouad
* Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSErrorGregory P. Smith2012-06-031-6/+34
| | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not.
* Added test skip under Windows, as not applicable there.Vinay Sajip2012-05-311-0/+1
|