summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9308: Removed redundant coding cookies. Added tests forAlexander Belopolsky2010-10-159-14/+54
| | | | | importing encoded modules that do not depend on specific stdlib modules being encoded in a certain way.
* #2830: add html.escape() helper and move cgi.escape() uses in the standard ↵Georg Brandl2010-10-152-2/+26
| | | | library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
* #5355 followup: add unit test for new dictionaries, and provide submodules ↵Georg Brandl2010-10-151-3/+21
| | | | from xml.parsers.expat as advertised.
* Fix #10098. Fix sporadic test_os failures.Brian Curtin2010-10-151-1/+1
| | | | | Amaury noticed that we're not waiting for the subprocess to be ready -- it should be checking for 1, not 0.
* Revert debug printoutAntoine Pitrou2010-10-151-3/+0
|
* Enable debug output at the start of the regression suite instead.Antoine Pitrou2010-10-152-5/+3
| | | | Sorry for the ephemeral inconvenience.
* Temporary debug printout for buildbotsAntoine Pitrou2010-10-151-0/+5
|
* More proper closing of filesAntoine Pitrou2010-10-146-56/+79
|
* Add test case for issue #9409, non-ascii char in doctest. It passes in 3.2 ↵Florent Xicluna2010-10-141-2/+5
| | | | but needs fixing in 2.7.
* Explicitly close some files (from issue #10093)Antoine Pitrou2010-10-142-8/+18
|
* Fix the regex to match all kind of filenames, for interactive debugging in ↵Florent Xicluna2010-10-141-11/+11
| | | | doctests. (issue #9409)
* Increase timeouts in test_ftplib (for very slow buildbots)Antoine Pitrou2010-10-141-13/+13
|
* OopsAntoine Pitrou2010-10-141-1/+1
|
* Really fix bugAntoine Pitrou2010-10-141-2/+2
|
* Fix issue 10094, by narrowing down the test for PROXY environment variables.Barry Warsaw2010-10-141-1/+1
| | | | | Ubuntu 10.10 introduced $UBUNTU_MENUPROXY into the default user environment, and that's what's tripping up the code.
* Issue 9183: Intern UTC timezone.Alexander Belopolsky2010-10-141-1/+3
|
* Replace the "compiler" resource with the more generic "cpu", soAntoine Pitrou2010-10-144-6/+7
| | | | as to mark CPU-heavy tests.
* Issue #7523: Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,Antoine Pitrou2010-10-142-1/+78
| | | | where supported by the system. Patch by Nikita Vetoshkin.
* Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocolSenthil Kumaran2010-10-141-2/+2
|
* Inherit interpreter flags in parallel testingAntoine Pitrou2010-10-142-5/+22
|
* test_subprocess doesn't need to C locale to test os.environbVictor Stinner2010-10-141-3/+3
| | | | Improve also the comment to explain why C locale is needed to test os.environ.
* test_subprocess: use C locale to get ascii locale encodingVictor Stinner2010-10-141-0/+4
|
* #9964: fix running test_cmd_line_script under -O and -OO.Georg Brandl2010-10-141-0/+3
|
* #9964: fix running test_compileall under -O and -OO.Georg Brandl2010-10-141-20/+23
|
* Better check for "any optimize option given".Georg Brandl2010-10-141-1/+1
|
* #9964: fix running test_xml_etree under -OO.Georg Brandl2010-10-141-0/+4
|
* #9964: fix running test_import under -O or -OO.Georg Brandl2010-10-141-1/+2
|
* #9964: Fix failure of test_dis under -OO.Georg Brandl2010-10-141-13/+13
|
* #1710703: write zipfile structures also in the case of closing a new, but ↵Georg Brandl2010-10-141-0/+25
| | | | empty, archive.
* Fix (hopefully) occasional failures in test_threaded_import.Antoine Pitrou2010-10-131-5/+4
| | | | | | `done` could be released multiple times because of concurrent execution. We convert it to an Event, where calling set() multiple times is not a problem.
* test_sys: Remove workaround #8611Victor Stinner2010-10-132-11/+0
| | | | | It looks like it is no more needed: Python 3.2 is slowly able to support non-ascii paths with an ascii locale.
* Issue #9992: Remove PYTHONFSENCODING environment variable.Victor Stinner2010-10-133-63/+0
|
* Protect test_smtpnet against connection failuresAntoine Pitrou2010-10-131-1/+2
|
* Issue #10041: The signature of optional arguments in socket.makefile()Antoine Pitrou2010-10-131-70/+121
| | | | | didn't match that of io.open(), and they also didn't get forwarded properly to TextIOWrapper in text mode. Patch by Kai Zhu.
* Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the ↵Antoine Pitrou2010-10-131-1/+1
| | | | old Gentoo buildbot
* Print out socket errors in HTTPS server threadAntoine Pitrou2010-10-131-2/+9
|
* Let test_ssl fail gracefully if ssl support is not availableAntoine Pitrou2010-10-131-14/+6
|
* Run a simple HTTPS server when Lib/test/ssl_servers.py is run as __main__Antoine Pitrou2010-10-131-1/+59
|
* Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler andAntoine Pitrou2010-10-136-137/+317
| | | | | urllib.request.urlopen now take optional arguments to allow for server certificate checking, as recommended in public uses of HTTPS.
* Implement #7944. Use `with` throughout the test suite.Brian Curtin2010-10-131-126/+93
|
* Implement #7944. Use `with` throughout the test suite.Brian Curtin2010-10-131-8/+2
|
* Implement #7944. Use `with` throughout the test suite.Brian Curtin2010-10-131-23/+19
|
* Implement #7944. Use `with` throughout the test suite.Brian Curtin2010-10-131-117/+104
|
* prefer clearing global objects to obscure module.__dict__ bugs #10068Benjamin Peterson2010-10-121-1/+16
|
* Issue #3873: Speed up unpickling from file objects which have a peek()Antoine Pitrou2010-10-121-1/+42
| | | | method.
* Issue #10075: Add a session_stats() method to SSLContext objects.Antoine Pitrou2010-10-121-0/+17
|
* Upgrade to Unicode 6.0.0.Martin v. Löwis2010-10-112-3/+3
| | | | | | | | makeunicodedata.py: download all data files from unicode.org, switch to extracting Unihan data from zip file. Read linebreakprops and derivednormalizationprops even for old versions, even though they are not used in delta records. test:unicode.py: U+11000 is now assigned, use U+14000 instead.
* Issue #1051: Add a script (Lib/test/make_ssl_certs.py) to generate theAntoine Pitrou2010-10-085-52/+123
| | | | custom certificate and private key files used by SSL-related certs.
* Add some debug output in verbose modeAntoine Pitrou2010-10-081-0/+4
|
* Better Python spawning primitives in test.script_helper, forAntoine Pitrou2010-10-084-85/+68
| | | | easier writing of unit tests and better error reporting.