summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* remove superfluous and useless lineBenjamin Peterson2014-04-161-1/+0
|
* use the called property of the run_pip mock rather than an assertion method ↵Benjamin Peterson2014-04-161-8/+8
| | | | that doesn't exist
* Try to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue ↵Antoine Pitrou2014-04-161-1/+6
| | | | #21015
* #1704474: mark refleak test as specific to CPythonAndrew Kuchling2014-04-151-0/+1
| | | | Patch by Christian Hudon.
* Run test_urllib2_localnet tests using unittest.main().Senthil Kumaran2014-04-151-7/+17
| | | | Capture threads in the setUpModule and cleanup threads in the tearDownModule.
* - Issue #21223: Pass test_site/test_startup_imports when some of the extensionsdoko@ubuntu.com2014-04-151-1/+2
| | | | are built as builtins.
* asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctlyYury Selivanov2014-04-151-0/+18
| | | | Issue #21209.
* Reverted 16efa8d27e4c after discussion with Eric.Vinay Sajip2014-04-151-2/+0
|
* Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.Vinay Sajip2014-04-151-0/+9
|
* Closed issue #8931: Make alternate formatting for 'c' raise an exception. ↵Eric V. Smith2014-04-151-0/+2
| | | | Patch by Torsten Landschoff.
* asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1Yury Selivanov2014-04-151-0/+25
| | | | Closes issue #21209.
* Invoke test_urllibnet tests using unittest.main functionSenthil Kumaran2014-04-151-7/+3
|
* #17498: Defer SMTPServerDisconnected errors until the next command.R David Murray2014-04-141-0/+13
| | | | | | | | | | | | | Normally an SMTP server will return an error, and smtplib will then issue an RSET to return the connection to the known starting state. Some servers, however, disconnect after issuing certain errors. When we issue the RSET, this would result in raising an SMTPServerDisconnected error, *instead* of returning the error code the user of the library was expecting. This fix makes the internal RSET calls ignore the disconnection so that the error code is returned. The user of the library will then get the SMTPServerDisconnected error the next time they try to talk to the server. Patch by Kushal Das.
* merge headsSenthil Kumaran2014-04-141-0/+17
|\
| * Issue #13598: Add auto-numbering of replacement fields to string.Formatter.Eric V. Smith2014-04-141-0/+17
| |
* | Convert urllib.request parse_proxy doctests to unittests.Senthil Kumaran2014-04-141-1/+38
|/
* Issue #7776: Fix ``Host:'' header and reconnection when using ↵Senthil Kumaran2014-04-141-2/+48
| | | | | | http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
* Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵Eric V. Smith2014-04-141-0/+21
| | | | methods.
* fix sending tuples to custom generator objects with yield from (closes #21209)Benjamin Peterson2014-04-141-0/+19
| | | | Debugged by Victor.
* merge 3.3Benjamin Peterson2014-04-141-0/+4
|\
| * merge 3.2Benjamin Peterson2014-04-141-0/+4
| |\
| | * in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-0/+4
| | | | | | | | | | | | | | | | | | index Bug reported by Guido Vranken.
* | | #21169: fix getpass to use replace error handler on UnicodeEncodeError.R David Murray2014-04-141-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the input stream encoding couldn't encode one or more of the non-ascii characters in the prompt, it would fail, throwing a UnicodeEncodeError. Now if that happens we re-encoding using the 'replace' error handler. Patch by Kushal Das.
* | | inspect.signautre: Fix functools.partial support. Issue #21117Yury Selivanov2014-04-081-20/+79
| | |
* | | Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError ifVictor Stinner2014-04-071-0/+11
| | | | | | | | | | | | path and sock are specified at the same time.
* | | make temporary read-only files writable, so rmtree can remove them (#21128)Benjamin Peterson2014-04-041-0/+3
| | |
* | | make sure to test UnicodeEncodeError, tooBenjamin Peterson2014-04-021-1/+1
| | |
* | | bail in unicode error's __str__ methods if the objects are not properly ↵Benjamin Peterson2014-04-021-0/+6
| | | | | | | | | | | | initialized (closes #21134)
* | | make test name consistent with the rest of the fileBenjamin Peterson2014-04-021-1/+1
| | |
* | | Issue #18652: Add an itertools recipe for first_true()Raymond Hettinger2014-04-021-0/+16
| | |
* | | merge 3.3 (#21082)Benjamin Peterson2014-04-011-4/+3
|\ \ \ | |/ /
| * | merge 3.2 (#21082)Benjamin Peterson2014-04-011-4/+3
| |\ \ | | |/
| | * remove directory mode check from makedirs (closes #21082)Benjamin Peterson2014-04-011-4/+3
| | |
* | | use https docs urlBenjamin Peterson2014-03-311-2/+2
| | |
* | | merge 3.3 (#21115)Benjamin Peterson2014-03-311-2/+2
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2014-03-311-2/+2
| |\ \ | | |/
| | * use https docs url (#21115)Benjamin Peterson2014-03-311-2/+2
| | |
* | | Issue #20668: Remove tests.txt of test_asyncioVictor Stinner2014-03-311-14/+0
| | | | | | | | | | | | It's useless, tests are now discovered automatically.
* | | Issue #21097: Move test_namespace_pkgs into test_importlib.Eric Snow2014-03-2915-0/+0
| | |
* | | Issue #6676: Ensure a meaningful exception is raised when attemptingNed Deily2014-03-271-0/+12
| | | | | | | | | | | | | | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge)
* | | inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.Yury Selivanov2014-03-271-0/+6
| | | | | | | | | | | | Patch by Jeremiah Lowin. Closes #20817.
* | | inspect: Fix getcallargs() to raise correct TypeErrorYury Selivanov2014-03-271-0/+8
| | | | | | | | | | | | | | | ... for missing keyword-only arguments. Patch by Jeremiah Lowin. Closes #20816.
* | | asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668Yury Selivanov2014-03-271-12/+10
| | |
* | | Issue #21069: Temporarily use www.google.com while investigatingNed Deily2014-03-271-1/+1
| | | | | | | | | | | | test_urllibnet.test_fileno intermittent failures with www.example.com.
* | | Issue #20939: remove stray character from commentNed Deily2014-03-271-1/+1
| | |
* | | Issue #20939: Use www.example.com instead of www.python.org to avoid testNed Deily2014-03-274-20/+22
| | | | | | | | | | | | failures when ssl is not present.
* | | Issue #20939: Backout test_urllib2.test_issue16464 disables:Ned Deily2014-03-271-6/+0
| | | | | | | | | | | | | | | 68335b8afb1f 3.4 ad0c75b7bd7d default
* | | Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.Victor Stinner2014-03-251-1/+1
| | |
* | | Issue #21038: Use monotonic clock to compute timeout, not the system clockVictor Stinner2014-03-251-8/+8
| | |
* | | Issue #21038: Cleanup test_epoll.pyVictor Stinner2014-03-251-3/+0
| | | | | | | | | | | | Remove useless test and unused variables. Initial patch by Andreas Schwab.