summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18582: skip test of _hashlib.pbkdf2_hmac if OpenSSL is not available ↵Christian Heimes2013-10-191-11/+8
| | | | or too old
* Issue #19279: UTF-7 decoder no more produces illegal strings.Serhiy Storchaka2013-10-191-0/+30
|\
| * Issue #19279: UTF-7 decoder no more produces illegal strings.Serhiy Storchaka2013-10-191-0/+30
| |
* | Disable some subprocess tests that hang on AIX.Guido van Rossum2013-10-191-0/+9
| | | | | | | | See http://bugs.python.org/issue19293
* | Skip the asyncio tests when threads are not available.Guido van Rossum2013-10-191-0/+5
| | | | | | | | See http://bugs.python.org/issue19295
* | contextlib doc updates and refactoringNick Coghlan2013-10-191-4/+44
| | | | | | | | | | | | | | | | | | | | | | - explain single use, reusable and reentrant in docs - converted suppress to a reentrant class based impl - converted redirect_stdout to a reusable impl - moved both suppress and redirect_stdout behind a functional facade - added reentrancy tests for the updated suppress - added reusability tests for the updated redirect_stdio - slightly cleaned up an exception from contextmanager
* | Issue #19254: Provide an optimized Python implementation of PBKDF2_HMACChristian Heimes2013-10-191-4/+16
| |
* | Write flow control for asyncio (includes asyncio.streams overhaul).Guido van Rossum2013-10-181-21/+21
| |
* | Relax some asyncio test timeouts (http://bugs.python.org/issue19285).Guido van Rossum2013-10-182-5/+5
| |
* | Issue #19222: Add support for the 'x' mode to the gzip module.Nadeem Vawda2013-10-181-0/+37
| | | | | | | | Original patch by Tim Heaney.
* | Issue #19223: Add support for the 'x' mode to the bz2 module.Nadeem Vawda2013-10-181-36/+57
| | | | | | | | Patch by Tim Heaney and Vajrasky Kok.
* | Issue #19201: Add support for the 'x' mode to the lzma module.Nadeem Vawda2013-10-181-3/+29
| | | | | | | | Patch by Tim Heaney and Vajrasky Kok.
* | Fix test to not consider mixin a standalone testBrett Cannon2013-10-181-1/+1
| |
* | Issue #16803: Move test_importlib.test_util to use both frozen andBrett Cannon2013-10-182-50/+96
| | | | | | | | source code.
* | Issue #16803: Have test_importlib.test_locks use frozen and sourceBrett Cannon2013-10-181-21/+48
| | | | | | | | code.
* | mergeBrett Cannon2013-10-185-16/+16
|\ \
| * | Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵Guido van Rossum2013-10-185-16/+16
| | | | | | | | | | | | timeout in test_call_later().
* | | Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwdBrett Cannon2013-10-181-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and stop importlib.machinery.FileFinder treating '' as '.'. Previous PathFinder transformed '' into '.' which led to __file__ for modules imported from the cwd to always be relative paths. This meant the values of the attribute were wrong as soon as the cwd changed. This change now means that as long as the site module is run (which makes all entries in sys.path absolute) then all values for __file__ will also be absolute unless it's for __main__ when specified by file path in a relative way (modules imported by runpy will have an absolute path). Now that PathFinder is no longer treating '' as '.' it only makes sense for FileFinder to stop doing so as well. Now no transformation is performed for the directory given to the __init__ method. Thanks to Madison May for the initial patch.
* | Issue #16803: test.test_importlib.test_api now runs under frozen andBrett Cannon2013-10-181-37/+69
| | | | | | | | source.
* | Issue #16129: this should appease the buildbotsNick Coghlan2013-10-181-8/+7
| |
* | Remove test_sigterm().Richard Oudkerk2013-10-181-41/+0
| |
* | Close #19030: inspect.getmembers and inspect.classify_class_attrsEthan Furman2013-10-181-11/+89
| | | | | | | | | | | | | | | | | | | | Order of search is now: 1. Try getattr 2. If that throws an exception, check __dict__ directly 3. If still not found, walk the mro looking for the eldest class that has the attribute (e.g. things returned by __getattr__) 4. If none of that works (e.g. due to a buggy __dir__, __getattr__, etc. method or missing __slot__ attribute), ignore the attribute entirely.
* | Rename the logger to plain "logger".Guido van Rossum2013-10-176-25/+25
| |
* | Issue #19275: Fix test_site failure on OS X due to typo.Ned Deily2013-10-171-1/+1
| |
* | Make asyncio tests run on Windows.Guido van Rossum2013-10-173-2/+12
| |
* | Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-1722-0/+8864
| |
* | Skip #16129 test until I debug cross-platform issuesNick Coghlan2013-10-171-0/+1
| |
* | Try to debug overspecified test :(Nick Coghlan2013-10-171-1/+2
| |
* | Fix signal handler in test.Richard Oudkerk2013-10-171-1/+5
| |
* | Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan2013-10-171-14/+14
| | | | | | | | Patch by Zero Piraeus.
* | Try doing a raw test of os.fork()/os.kill().Richard Oudkerk2013-10-171-5/+36
| |
* | Issue #16129: Add `Py_SetStandardStreamEncoding`Nick Coghlan2013-10-171-25/+71
| | | | | | | | | | | | | | | | | | | | | | This new pre-initialization API allows embedding applications like Blender to force a particular encoding and error handler for the standard IO streams. Also refactors Modules/_testembed.c to let us start testing multiple embedding scenarios. (Initial patch by Bastien Montagne)
* | Stop trying to use strace, but add a sleep before terminate().Richard Oudkerk2013-10-171-8/+4
| |
* | Issue #19275: Fix test_site on AMD64 Snow LeopardChristian Heimes2013-10-171-2/+3
| |
* | Try strace instead of gdb to see what wedged child is doing.Richard Oudkerk2013-10-171-4/+6
| |
* | Merge headsSerhiy Storchaka2013-10-171-0/+13
|\ \
| * | Try to print a backtrace of wedged child process in test.Richard Oudkerk2013-10-171-0/+13
| | |
* | | Issue 19276: Fix tests for wave files on big-endian platforms.Serhiy Storchaka2013-10-171-3/+10
|\ \ \ | |/ / |/| / | |/ Skip tests for 24-bit wave file on big-endian platforms.
| * Issue 19276: Fix tests for wave files on big-endian platforms.Serhiy Storchaka2013-10-171-3/+10
| | | | | | | | Skip tests for 24-bit wave file on big-endian platforms.
* | #18891: Complete new provisional email API.R David Murray2013-10-175-3/+1576
| | | | | | | | | | | | | | | | | | | | | | | | This adds EmailMessage and, MIMEPart subclasses of Message with new API methods, and a ContentManager class used by the new methods. Also a new policy setting, content_manager. Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka, and reflects their feedback. I will ideally add some examples of using the new API to the documentation before the final release.
* | Close #19252: better test coverage for Enum. Thanks, CliffMEthan Furman2013-10-171-2/+4
| |
* | Issue #18999: Make multiprocessing use context objects.Richard Oudkerk2013-10-161-5/+37
| | | | | | | | | | This allows different parts of a program to use different methods for starting processes without interfering with each other.
* | Issue #18468: The re.split, re.findall, and re.sub functions and the group()Serhiy Storchaka2013-10-161-14/+68
| | | | | | | | | | and groups() methods of match object now always return a string or a bytes object.
* | Issue #14407: Fix unittest test discovery in test_concurrent_futures.Antoine Pitrou2013-10-151-22/+13
|\ \ | |/
| * Issue #14407: Fix unittest test discovery in test_concurrent_futures.Antoine Pitrou2013-10-151-22/+13
| |
* | Issue #18725: The textwrap module now supports truncating multiline text.Serhiy Storchaka2013-10-151-7/+98
| |
* | MergeRichard Oudkerk2013-10-151-1/+1
|\ \ | |/
| * Print process instead of pid.Richard Oudkerk2013-10-151-1/+1
| |
* | Issue #18919: Fixed resource leaks in audio tests.Serhiy Storchaka2013-10-141-12/+12
|\ \ | |/
| * Issue #18919: Fixed resource leaks in audio tests.Serhiy Storchaka2013-10-141-12/+12
| |