summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.Ned Deily2014-02-141-2/+8
|
* Issue #6815: os.path.expandvars() now supports non-ASCII environmentSerhiy Storchaka2014-02-132-5/+52
| | | | variables names and values.
* Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.Serhiy Storchaka2014-02-121-0/+38
| | | | Based on patch by Stephen Tu.
* Issue #19856: shutil.move() failed to move a directory to other directorySerhiy Storchaka2014-02-111-0/+9
| | | | on Windows if source name ends with os.altsep.
* merge with 3.3.4 releasing repoGeorg Brandl2014-02-102-3/+36
|\
| * #20311: revert changes to 3.3 branch for now until experts have decided how ↵Georg Brandl2014-01-251-11/+0
| | | | | | | | to resolve the issue.
| * #16042: CVE-2013-1752: smtplib fix for unlimited readline() from socketGeorg Brandl2014-01-252-3/+36
| |
* | #14983: always add a line end after a MIME boundary marker.R David Murray2014-02-082-5/+11
| | | | | | | | | | | | | | | | | | This is more RFC compliant (see issue) and fixes a problem with signature verifiers rejecting the part when signed. There is some amount of backward compatibility concern here since it changes the output, but the RFC issue coupled with fixing the problem with signature verifiers seems worth the small risk of breaking code that depends on the current incorrect output.
* | #16983: Apply postel's law to encoded words inside quoted strings.R David Murray2014-02-082-0/+19
| | | | | | | | | | | | | | | | | | | | This applies only to the new parser. The old parser decodes encoded words inside quoted strings already, although it gets the whitespace wrong when it does so. This version of the patch only handles the most common case (a single encoded word surrounded by quotes), but I haven't seen any other variations of this in the wild yet, so its good enough for now.
* | #19772: Do not mutate message when downcoding to 7bit.R David Murray2014-02-081-1/+11
| | | | | | | | | | | | | | | | | | This is a bit of an ugly hack because of the way generator pieces together the output message. The deepcopys aren't too expensive, though, because we know it is only called on messages that are not multiparts, and the payload (the thing that could be large) is an immutable object. Test and preliminary work on patch by Vajrasky Kok.
* | Issue #20553. Use specific asserts in ipaddress tests.Serhiy Storchaka2014-02-081-18/+17
| |
* | Issue #18805: better netmask validation in ipaddressNick Coghlan2014-02-081-20/+53
| |
* | Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests.Serhiy Storchaka2014-02-083-29/+30
| |
* | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-088-26/+27
| | | | | | | | tests.
* | Issue #20546: Use specific asserts in int tests.Serhiy Storchaka2014-02-081-24/+24
| |
* | Issue #20538: UTF-7 incremental decoder produced inconsistant string whenSerhiy Storchaka2014-02-081-6/+33
| | | | | | | | input was truncated in BASE64 section.
* | #17369: Improve handling of broken RFC2231 values in get_filename.R David Murray2014-02-071-0/+20
| | | | | | | | This fixes a regression relative to python2.
* | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-0724-104/+235
| |
* | Silence BytesWarning (backport 267a4d4d9d65).Serhiy Storchaka2014-02-061-5/+6
| |
* | Issue #20363. Fixed BytesWarning triggerred by test suite.Serhiy Storchaka2014-02-061-1/+1
| | | | | | | | Patch by Berker Peksag.
* | Issue #20520: Fixed readline test in test_codecs.Serhiy Storchaka2014-02-061-6/+15
| |
* | Issue #19920: TarFile.list() no longer fails when outputs a listingSerhiy Storchaka2014-02-051-0/+78
| | | | | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
* | Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.Serhiy Storchaka2014-02-051-1/+36
| |
* | Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.Ned Deily2014-02-031-4/+4
| |
* | Skip expr* tests for large integers for Tcl <8.5.Serhiy Storchaka2014-02-031-4/+8
| | | | | | | | | | The '**' operator is available only since 8.5 and in any case such large integers are not supported on Tcl <8.5.
* | Issue #20426: When passing the re.DEBUG flag, re.compile() displays the ↵Antoine Pitrou2014-02-031-1/+14
| | | | | | | | debug output every time it is called, regardless of the compilation cache.
* | Issue #20368: The null character now correctly passed from Tcl to Python.Serhiy Storchaka2014-02-031-10/+40
| | | | | | | | Improved error handling in variables-related commands.
* | Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),Serhiy Storchaka2014-02-031-0/+135
| | | | | | | | exprlong() and exprboolean().
* | Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline ↵Antoine Pitrou2014-02-021-0/+9
| | | | | | | | translation settings.
* | Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.Serhiy Storchaka2014-02-021-5/+28
| |
* | #20288: fix handling of invalid numeric charrefs in HTMLParser.Ezio Melotti2014-02-011-0/+6
| |
* | Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵Antoine Pitrou2014-01-291-43/+22
| | | | | | | | by Arfrever.
* | Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-291-0/+9
| |
* | Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-271-32/+35
| | | | | | | | is present.
* | Issue #19077: tempfile.TemporaryDirectory cleanup is now most likelySerhiy Storchaka2014-01-271-47/+37
| | | | | | | | | | | | successful when called during nulling out of modules during shutdown. Misleading exception no longer raised when resource warning is emitted during shutdown.
* | Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicateVictor Stinner2014-01-271-0/+7
| | | | | | | | arguments. Patch by Glenn Langford.
* | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+140
| | | | | | | | Based on patch by Claudiu Popa.
* | Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-261-2/+34
| | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
* | Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeoutVictor Stinner2014-01-251-11/+0
|/ | | | towards zero
* Fix typo.Serhiy Storchaka2014-01-241-1/+1
|
* Issue #20384: Fix the test_tarfile test on Windows.Serhiy Storchaka2014-01-241-1/+6
| | | | On Windows os.open() error message doesn't contain file name.
* Issue 20317: Remove debugging code from contextlibNick Coghlan2014-01-241-10/+48
| | | | | | | - Alex J Burke noticed a debugging raise in the commit that fixed the original bug reported in issue 20317 - this showed that multiple iterations through the affected loop wasn't actually being tested
* Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
| | | | representation in Tcl and Python.
* Added test_user_command in test_tcl.Serhiy Storchaka2014-01-231-0/+28
| | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings.
* Issue #20317: Don't create a reference loop in ExitStackNick Coghlan2014-01-221-0/+23
|
* Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵Florent Xicluna2014-01-221-4/+14
| | | | IndentationError.
* Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
|
* Issue #2382: SyntaxError cursor "^" now is written at correct position in mostSerhiy Storchaka2014-01-212-0/+22
| | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters.
* Issue #20311: Try to fix the unit test, use time.monotonic() instead ofVictor Stinner2014-01-211-12/+12
| | | | | | time.perf_counter() Move also the unit test at the end.
* Issue #20311: select.epoll.poll() now rounds the timeout away from zero,Victor Stinner2014-01-211-0/+11
| | | | | instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.