summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23630: Fix test_asyncio on WindowsVictor Stinner2015-09-211-0/+1
| | | | The proactor event loop requires also to mock loop._stop_serving.
* Issue #25114: Fix test_asyncioVictor Stinner2015-09-211-3/+2
| | | | ssl.SSLContext() does not always disable compression. Fix unit test.
* 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.
* 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 #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 #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.
* 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.
* 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 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.
* | 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.
* | 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: 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.
* | 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.
* | 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.
* | Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
| | | | | | | | details in issue25018.
* | Issue #25004: Handle out-of-disk-space error in LargeMmapTestsMartin Panter2015-09-071-1/+4
| | | | | | | | Patch from John Beck.
* | #23144: Make sure that HTMLParser.feed() returns all the data, even when ↵Ezio Melotti2015-09-061-3/+12
| | | | | | | | convert_charrefs is True.
* | Fix, refactor and extend tests for shutil.make_archive().Serhiy Storchaka2015-09-061-89/+83
| |
* | Use support.change_cwd() in tests.Serhiy Storchaka2015-09-068-99/+33
| |
* | Issue #16180: Exit pdb if file has syntax error, instead of trapping userTerry Jan Reedy2015-09-051-0/+12
| | | | | | | | in an infinite loop. Patch by Xavier de Gaye.
* | test_gdb: oops, the regex to parse the gdb version was still too strictVictor Stinner2015-09-031-2/+3
| |
* | test_wsgiref: add missing import (support)Victor Stinner2015-09-031-0/+2
| |
* | Fix test_wsgiref execution from the test module.Senthil Kumaran2015-09-031-3/+2
| |
* | test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'Victor Stinner2015-09-031-1/+2
| |
* | Fix test_warnings: don't modify warnings.filtersVictor Stinner2015-09-021-0/+6
| | | | | | | | | | | | BaseTest now ensures that unittest.TestCase.assertWarns() uses the same warnings module than warnings.catch_warnings(). Otherwise, warnings.catch_warnings() will be unable to remove the added filter.
* | test_gdb: use subprocess.Popen context manager to fix ResourceWarning warningsVictor Stinner2015-09-021-20/+29
| | | | | | | | when the test is interrupted (or fail).
* | test_gdb: fix regex to parse gdb version for SUSE Linux EntrepriseVictor Stinner2015-09-021-4/+11
| | | | | | | | | | Mention also the detected GDB version on verbose mode and on error (if the major version is smaller than 7).
* | Issue #24931: Resolve __dict__ conflict in namedtuple subclasses.Raymond Hettinger2015-08-301-1/+11
| |
* | Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.Yury Selivanov2015-08-181-0/+18
| | | | | | | | Patch by Ethan Furman.
* | cgi.FieldStorage.read_multi ignores Content-LengthVictor Stinner2015-08-181-0/+19
| | | | | | | | | | | | Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length header in part headers. Patch written by Peter Landry and reviewed by Pierre Quentel.
* | Issue #24867: Fix Task.get_stack() for 'async def' coroutinesYury Selivanov2015-08-141-0/+32
| |
* | Issue #21159: Improve message in configparser.InterpolationMissingOptionError.Robert Collins2015-08-131-3/+4
| | | | | | | | Patch from Łukasz Langa.
* | Issue #24763: Fix asyncio test on Windows (fix reverted change)Yury Selivanov2015-08-091-1/+5
| | | | | | | | See also issue #24835
* | regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect ↵Zachary Ware2015-08-091-4/+2
| | | | | | | | anymore
* | Issue #4395: Better testing and documentation of binary operators.Robert Collins2015-08-061-1/+22
| | | | | | | | Patch by Martin Panter.
* | Issue #23812: Fix getter-cancellation with many pending getters code pathYury Selivanov2015-08-061-1/+36
| |
* | Issue #23812: Fix asyncio.Queue.get() to avoid loosing items on cancellation.Yury Selivanov2015-08-051-1/+60
| | | | | | | | Patch by Gustavo J. A. M. Carneiro.
* | Issue #24791: Add tests for things that regressed with PEP 448Zachary Ware2015-08-051-0/+2
| |
* | Issue #24751: When running regrtest with '-w', don't fail if re-run succeeds.Zachary Ware2015-08-051-3/+8
| |
* | asyncio: Sync with upstream (compat module)Yury Selivanov2015-08-041-5/+1
| |
* | Issue #23888: Handle fractional time in cookie expiry. Patch by ssh.Robert Collins2015-08-031-0/+9
| |
* | Issue #22397: Skip failing tests on AIXRobert Collins2015-08-021-0/+4
| | | | | | | | Patch from David Edelsohn.
* | Issue #20557: Use specific asserts in io tests.Serhiy Storchaka2015-08-025-18/+20
| |