summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.4 (test_asyncio)Victor Stinner2015-09-211-3/+2
|\
| * Issue #25114: Fix test_asyncioVictor Stinner2015-09-211-3/+2
| | | | | | | | ssl.SSLContext() does not always disable compression. Fix unit test.
* | Merge 3.4 (asyncio)Victor Stinner2015-09-211-0/+33
|\ \ | |/
| * Issue #23630, asyncio: host parameter of loop.create_server() can now be aVictor Stinner2015-09-211-0/+33
| | | | | | | | sequence of strings. Patch written by Yann Sionneau.
* | Merge 3.4 (asyncio)Victor Stinner2015-09-211-12/+63
|\ \ | |/
| * Issue #25114, asyncio: add ssl_object extra info to SSL transportsVictor Stinner2015-09-211-12/+63
| | | | | | | | | | | | This info is required on Python 3.5 and newer to get specific information on the SSL object, like getting the binary peer certificate (instead of getting it as text).
* | Issue #25122: test_eintr: the FreeBSD fix will be released in FreeBSD 10.3Victor Stinner2015-09-211-2/+2
| |
* | Merge 3.4 (test_socket, issue #25138)Victor Stinner2015-09-211-5/+4
|\ \ | |/
| * Issue #25138: test_socket.test_idna() uses support.transient_internet() insteadVictor Stinner2015-09-211-5/+4
| | | | | | | | of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
* | Issue #25101: Try to create a file to test write access in test_zipfile.Serhiy Storchaka2015-09-191-0/+7
|\ \ | |/
| * Issue #25101: Try to create a file to test write access in test_zipfile.Serhiy Storchaka2015-09-191-0/+7
| |
* | Merge 3.4 (test_email)Victor Stinner2015-09-181-0/+3
|\ \ | |/
| * Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X SnowVictor Stinner2015-09-181-0/+3
| | | | | | | | Leopard because this OS uses out of date (pre 2011k) timezone files.
* | Merge 3.4 (datetime rounding)Victor Stinner2015-09-181-6/+17
|\ \ | |/
| * Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methodsVictor Stinner2015-09-181-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | of datetime.datetime: microseconds are now rounded to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards zero (ROUND_DOWN). It's important that these methods use the same rounding mode than datetime.timedelta to keep the property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t) It also the rounding mode used by round(float) for example. Add more unit tests on the rounding mode in test_datetime.
| * Issue #25108: Backported tests for traceback functions print_stack(),Serhiy Storchaka2015-09-181-0/+35
| | | | | | | | format_stack(), and extract_stack() called without arguments.
* | Issue #25155: Fix _PyTime_Divide() roundingVictor Stinner2015-09-181-8/+8
| | | | | | | | | | _PyTime_Divide() rounding was wrong: copy code from Python default which has now much better unit tests.
* | Issue #25122: sync test_eintr with Python 3.6Victor Stinner2015-09-182-98/+200
| | | | | | | | | | | | | | | | | | | | * test_eintr: support verbose mode, don't redirect eintr_tester output into a pipe * eintr_tester: replace os.fork() with subprocess to have a cleaner child process (ex: don't inherit setitimer()) * eintr_tester: kill the process if the unit test fails * test_open/test_os_open(): write support.PIPE_MAX_SIZE bytes instead of support.PIPE_MAX_SIZE*3 bytes
* | Issue #25108: Omitted internal frames in traceback functions print_stack(),Serhiy Storchaka2015-09-181-0/+35
| | | | | | | | format_stack(), and extract_stack() called without arguments.
* | Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows.Victor Stinner2015-09-151-0/+6
| | | | | | | | Add an unit test on os.waitpid()
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-141-1/+1
|\ \ | |/
| * test_gdb: fix regex to parse the GDB versionVictor Stinner2015-09-141-1/+1
| | | | | | | | Fix the regex to support the version 7.10: minor version with two digits
* | Issue #25021: Merge 3.4 to 3.5Kristján Valur Jónsson2015-09-121-0/+10
|\ \ | |/
| * Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-0/+10
| |\
| | * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-0/+10
| | | | | | | | | | | | invalid memory.
* | | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-2/+2
|\ \ \ | |/ / | | | | | | Fixed the case of the "Ctrl-" prefixes.
| * | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-2/+2
| | | | | | | | | | | | Fixed the case of the "Ctrl-" prefixes.
* | | Issue #16473: Merge codecs doc and test from 3.4 into 3.5Martin Panter2015-09-121-0/+8
|\ \ \ | |/ /
| * | Issue #16473: Fix byte transform codec documentation; test quotetabs=TrueMartin Panter2015-09-121-0/+8
| | | | | | | | | | | | | | | | | | This changes the equivalent functions listed for the Base-64, hex and Quoted- Printable codecs to reflect the functions actually used. Also mention and test the "quotetabs" setting for Quoted-Printable encoding.
* | | Merge 3.4 into 3.5Martin Panter2015-09-091-1/+1
|\ \ \ | |/ /
| * | os.sendfile(headers=None, trailers=None) arguments are not actually acceptedMartin Panter2015-09-091-1/+1
| | | | | | | | | | | | Needs to be tested on a BSD.
* | | Issue #23738: Merge 3.4 into 3.5Martin Panter2015-09-095-3/+43
|\ \ \ | |/ /
| * | Issue #23738: Document and test actual keyword parameter namesMartin Panter2015-09-095-3/+43
| | | | | | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed.
* | | Fixed tests for shutil.make_archive() with relative base_name in the case whenSerhiy Storchaka2015-09-081-2/+2
|\ \ \ | |/ / | | | | | | the path of the directory for temporary files contains symlinks.
| * | Fixed tests for shutil.make_archive() with relative base_name in the case whenSerhiy Storchaka2015-09-081-2/+2
| | | | | | | | | | | | the path of the directory for temporary files contains symlinks.
* | | Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-081-6/+31
|\ \ \ | |/ / | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command.
| * | Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-081-6/+31
| | | | | | | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command.
* | | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-0/+3
|\ \ \ | |/ / | | | | | | expat parser.
| * | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-0/+3
| | | | | | | | | | | | expat parser.
* | | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-071-15/+41
|\ \ \ | |/ / | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
| * | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-071-15/+41
| | | | | | | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
* | | Issue #25018: Fixed testing shutil.make_archive() with relative base_name onSerhiy Storchaka2015-09-071-9/+19
|\ \ \ | |/ / | | | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format.
| * | Issue #25018: Fixed testing shutil.make_archive() with relative base_name onSerhiy Storchaka2015-09-071-9/+19
| | | | | | | | | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format.
* | | Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
|\ \ \ | |/ / | | | | | | details in issue25018.
| * | Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
| | | | | | | | | | | | details in issue25018.
* | | Reapplied change to test_warnings.py to test_warnings/__init__.py.Steve Dower2015-09-071-0/+6
| | |
* | | Merge from 3.5.0 branch.Steve Dower2015-09-077-16/+67
|\ \ \
| * | | Issue #24917: time_strftime() buffer over-read.Steve Dower2015-09-071-0/+13
| | | |
| * | | Issue #24305: Prevent import subsystem stack frames from being countedLarry Hastings2015-09-064-10/+27
| | | | | | | | | | | | | | | | by the warnings.warn(stacklevel=) parameter.
| * | | Backing out 09b62202d9b7; the tests fail on Linux, and it needs a re-think.Larry Hastings2015-09-061-6/+0
| | | |