summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* add a test for access errors from OpenKey (closes #21871)Benjamin Peterson2014-06-291-0/+17
| | | | Patch from Vladimir Iofik.
* don't allow unicode into type_map on Windows (closes #21652)Benjamin Peterson2014-06-291-3/+21
| | | | Patch from Vladimir Iofik.
* Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵Jesus Cea2014-06-281-1/+1
| | | | (Solaris)
* Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily2014-06-252-2/+4
|
* Issue #19145: Fix handling of negative values for a "times" keyword ↵Raymond Hettinger2014-06-251-0/+9
| | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.)
* #20155: use fake HTTP method names so windows doesn't hang the tests.R David Murray2014-06-241-2/+3
| | | | | | | Windows was seeing the 'GET' generated by these tests as invalid and forcibly closing the socket, causing the test to fail. Patch by Jeff Allen.
* avoid overflow with large buffer sizes and/or offsets (closes #21831)Benjamin Peterson2014-06-241-0/+6
|
* adjust zipfile tests for splitdrive improvementsBenjamin Peterson2014-06-231-4/+4
|
* fix ntpath.join on UNC-style paths by backporting py3k's splitdrive (closes ↵Benjamin Peterson2014-06-231-8/+24
| | | | #21672)
* Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().Raymond Hettinger2014-06-211-0/+9
|
* Fix test_pydoc failure introduced by e89c39125892. Patch by Berker Peksag.Charles-François Natali2014-06-201-2/+4
|
* Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.Terry Jan Reedy2014-06-201-1/+1
|
* avoid crashes and lockups from daemon threads during interpreter shutdown ↵Benjamin Peterson2014-06-171-0/+43
| | | | (#1856)
* url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-151-0/+5
| | | | #21766)
* Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-0/+15
|
* make sure the builtin help function doesn't fail when sys.stdin is not a ↵Benjamin Peterson2014-06-081-0/+8
| | | | | | valid file (closes #11709) Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
* don't remove self from example code in the HTML output (closes #13223)Benjamin Peterson2014-06-072-0/+54
| | | | Patch by Víctor Terrón.
* allow the keyword else immediately after (no space) an integer (closes #21642)Benjamin Peterson2014-06-071-0/+6
|
* Issue #18492: Allow all resources when tests are not run by regrtest.py.Zachary Ware2014-06-027-35/+13
| | | | This changeset also includes cleanup allowed by this behavior change.
* Issue #19656: Running Python with the -3 option now also warns aboutSerhiy Storchaka2014-06-011-0/+5
| | | | non-ascii bytes literals.
* backport hashlib.pbkdf2_hmac per PEP 466 (closes #21304)Benjamin Peterson2014-05-311-1/+67
| | | | Backport by Alex Gaynor.
* Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+51
| | | | the Tkinter module on 64-bit platforms.
* Add tests for getint, getdouble and getboolean methods of the tkapp object.Serhiy Storchaka2014-05-301-0/+47
|
* Fix issue #14315: The zipfile module now ignores extra fields in the centralGregory P. Smith2014-05-301-0/+15
| | | | | | directory that are too short to be parsed instead of letting a struct.unpack error bubble up as this "bad data" appears in many real world zip files in the wild and is ignored by other zip tools.
* Issue #21493: Added test for ntpath.expanduser(). Original patch bySerhiy Storchaka2014-05-281-0/+35
| | | | Claudiu Popa.
* Issue #21481: Teach argparse equality tests to return NotImplemented when ↵Raymond Hettinger2014-05-261-0/+6
| | | | comparing to unknown types.
* Issue 8743: Improve interoperability between sets and the collections.Set ↵Raymond Hettinger2014-05-262-30/+168
| | | | abstract base class.
* Issue 13355: Make random.triangular degrade gracefully when low == high.Raymond Hettinger2014-05-261-1/+1
|
* Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.Serhiy Storchaka2014-05-251-0/+62
|
* Issue #18604: Skip the Tk instantiation test on OS X because it canNed Deily2014-05-241-1/+3
| | | | | cause GUI tests to segfault in Cocoa Tk when run under regrtest -j (multiple threads running subprocesses).
* Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-2/+41
| | | | | | | opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" and "or" operators.
* 'sunos' not 'solarisBenjamin Peterson2014-05-171-1/+1
|
* just skip this test on SolarisBenjamin Peterson2014-05-171-5/+5
|
* some platforms apparently don't care about fdopen'ing with a different modeBenjamin Peterson2014-05-171-1/+5
|
* Backport Fix for Issue #7776: Fix ``Host:'' header and reconnection when ↵Senthil Kumaran2014-05-171-2/+46
| | | | | | using http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
* this file now has utf-8 charsBenjamin Peterson2014-05-111-0/+2
|
* backport hmac.compare_digest to partially implement PEP 466 (closes #21306)Benjamin Peterson2014-05-111-1/+111
| | | | Backport from Alex Gaynor.
* Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as ↵Antoine Pitrou2014-05-081-0/+7
| | | | | | advertised. Patch by Brian Kearns.
* Issue #18604: Consolidated checks for GUI availability.Zachary Ware2014-05-024-33/+60
| | | | | | | | test_support._is_gui_available is now defined the same way on every platform, and now includes the Windows-specific check that had been in the Windows version of _is_gui_available and the OSX-specific check that was in runtktests.check_tk_availability. Also, every platform checks whether Tk can be instantiated (if the platform-specific checks passed).
* Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-2/+11
| | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* Issue #9291 Do not attempt to re-encode mimetype data read from registry in ↵Tim Golden2014-04-271-6/+44
| | | | ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik
* Issue #18944: backport typo fixTerry Jan Reedy2014-04-261-1/+1
|
* Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a ↵Tim Golden2014-04-261-0/+9
| | | | TypeError where it previously crashed the interpreter. Patch by Brian Kearns
* Issue #21346: Fix typos in test_itertools. Patch by Brian Kearns.Zachary Ware2014-04-241-2/+2
|
* #1704474: mark refleak test as specific to CPythonAndrew Kuchling2014-04-151-0/+1
| | | | Patch by Christian Hudon.
* when an exception is raised in fdopen, never close the fd (changing on my ↵Benjamin Peterson2014-04-141-1/+1
| | | | mind on #21191)
* Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵Eric V. Smith2014-04-141-0/+21
| | | | methods.
* make sure fdopen always closes the fd in error cases (closes #21191)Benjamin Peterson2014-04-091-0/+4
|
* use with statementBenjamin Peterson2014-04-041-12/+10
|
* explicitly close file object (#21128)Benjamin Peterson2014-04-041-0/+1
|