summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29776: Use decorator syntax for properties. (#585)Serhiy Storchaka2017-03-191-1/+1
|
* bpo-29836: Remove nturl2path from test_sundry and amend the module docstring ↵Jim Fasarakis-Hilliard2017-03-171-2/+1
| | | | | (GH-694) The module is implicitly tested through test_urllib.
* bpo-16355: Clarify when inspect.getcomments() returns None (#428)Marco Buttu2017-03-171-0/+5
| | | Initial patch by Vajrasky Kok.
* bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ (#527)Nate2017-03-151-0/+12
| | | | | | | | | | | | | Many metaclasses in the standard library don't play nice with __init_subclass__. This bug makes ABCMeta in particular with __init_subclass__, which is an 80/20 solution for me personally. AFAICT, a general solution to this problem requires updating all metaclasses in the standard library to make sure they pass **kwargs to type.__new__, whereas this PR only fixes ABCMeta. For context, see https://bugs.python.org/issue29581. * added a test combining ABCMeta and __init_subclass__ * Added NEWS item
* Fix stderr bug in json.tool test (#346)Daniel Himmelstein2017-03-151-5/+4
| | | See https://github.com/python/cpython/pull/201#discussion_r103229425.
* bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords ↵Michael Seifert2017-03-151-0/+26
| | | | are not strings (#649)
* Add ELLIPSIS and RARROW. Add tests (#666)Jim Fasarakis-Hilliard2017-03-141-0/+21
|
* bpo-28856: Let %b format for bytes support objects that follow the buffer ↵Xiang Zhang2017-03-141-2/+6
| | | | | | protocol (GH-546)
* Fix wrapping into StopIteration of return values in generators and ↵Yury Selivanov2017-03-121-0/+15
| | | | coroutines (#644)
* bpo-29742: asyncio get_extra_info() throws exception (#525)Nikolay Kim2017-03-121-0/+12
|
* bpo-28692: Deprecate using non-integer value for selecting a plural form in ↵Serhiy Storchaka2017-03-121-3/+6
| | | | gettext. (#507)
* bpo-29723: Consistently configure sys.path[0] (#575)Nick Coghlan2017-03-121-0/+67
| | | | | | | | | | | | | | | | | | | | | | Directory and zipfile execution previously added the parent directory of the directory or zipfile as sys.path[0] and then subsequently overwrote it with the directory or zipfile itself. This caused problems in isolated mode, as it overwrote the "stdlib as a zip archive" entry in sys.path, as the parent directory was never added. The attempted fix to that issue in bpo-29319 created the opposite problem in *non*-isolated mode, by potentially leaving the parent directory on sys.path instead of overwriting it. This change fixes the root cause of the problem by removing the whole "add-and-overwrite" dance for sys.path[0], and instead simply never adds the parent directory to sys.path in the first place.
* bpo-29763: Use support.unlink instead of os.unlink (GH-624)Zachary Ware2017-03-121-4/+4
| | | support.unlink waits for the files to be removed before returning
* bpo-29773: Add more cases for testing string to float conversion errors. (#580)Serhiy Storchaka2017-03-091-8/+20
|
* bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)orenmn2017-03-091-15/+24
|
* bpo-29645: Speed up importing the webbrowser module. (#484)Serhiy Storchaka2017-03-081-0/+25
|
* bpo-28231: The zipfile module now accepts path-like objects for external ↵Serhiy Storchaka2017-03-081-15/+102
| | | | paths. (#511)
* bpo-28230: Document the pathlib support in tarfile and add tests. (#512)Serhiy Storchaka2017-03-081-0/+76
|
* Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554)Benjamin Peterson2017-03-081-1/+1
| | | This reverts commit ace5c0fdd9b962e6e886c29dbcea72c53f051dc4.
* make the glibc alias table take precedence over the X11 one (#422)Benjamin Peterson2017-03-081-1/+4
| | | bpo-20087
* bpo-29568: Disable any characters between two percents for escaped percent ↵Serhiy Storchaka2017-03-081-41/+36
| | | | "%%" in the format string for classic string formatting. (GH-513)
* bpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495)Xiang Zhang2017-03-081-0/+40
|
* bpo-26915: Test identity first in membership operation in index() and ↵Xiang Zhang2017-03-081-4/+13
| | | | | | count() methods of collections.abc.Sequence (GH-503)
* bpo-28682: Added support for bytes paths in os.fwalk(). (#489)Serhiy Storchaka2017-03-071-12/+19
|
* bpo-28728: clarify possible test failure due to ISP (GH-412)Xiang Zhang2017-03-071-5/+15
|
* bpo-29695: Fixed tests after removing keyword args support in some basic ↵Serhiy Storchaka2017-03-061-8/+14
| | | | type constructors. (GH-520)
* bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() ↵Serhiy Storchaka2017-03-065-14/+12
| | | | and tuple(). (#518)
* bpo-29714: Fix a regression that bytes format may fail when containing zero ↵Xiang Zhang2017-03-061-0/+10
| | | | bytes inside. (GH-499)
* bpo-29695: Deprecated using bad named keyword arguments in builtings: (#486)Serhiy Storchaka2017-03-055-2/+26
| | | | int(), bool(), float(), list() and tuple(). Specify the value as a positional argument instead.
* bpo-29638: Fix spurious refleaks after typing is imported (#469)Ivan Levkivskyi2017-03-051-3/+8
|
* Change assertRaises to assertRaisesRegex in test_xmlrpc (#481)Dillon Brock2017-03-051-3/+3
|
* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462)Ned Deily2017-03-042-0/+5
| | | | | | | * bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS Skip some tests of select.poll when running on macOS due to unresolved issues with the underlying system poll function on some macOS versions.
* bpo-27593: Get SCM build info from git instead of hg. (#446)Ned Deily2017-03-041-6/+6
| | | | | | | sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower.
* bpo-29623: Make PathLike objects work with ConfigParser.read() (#242)David Ellis2017-03-031-0/+11
|
* bpo-29693: Fix for DeprecationWarning in test_import (#421)Anish Shah2017-03-031-2/+2
| | | Patch by Anish Shah.
* bpo-28963: Fix out of bound iteration in ↵Yury Selivanov2017-03-031-0/+29
| | | | asyncio.Future.remove_done_callback/C (#408)
* asyncio: Fix trailing whitespace/code styleYury Selivanov2017-03-031-4/+6
|
* bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)Seth M. Larson2017-03-031-0/+22
|
* bpo-28893: Set __cause__ for errors in async iteration protocol (#407)Yury Selivanov2017-03-031-0/+38
|
* bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406)Yury Selivanov2017-03-031-0/+17
|
* bpo-29703: asyncio: Fix creating new event loops in child processes. (#404)Yury Selivanov2017-03-031-0/+22
|
* Add Python version since deprecation in base64 methods. (#33)Matthias Bussonnier2017-03-021-0/+8
| | | | | | Allow developers to not have to either test on N Python versions or looked through multiple versions of the docs to know whether they can easily update.
* require uuid_generate_time_safe for all tests of it (#390)Benjamin Peterson2017-03-021-7/+8
| | | The way mocking is written in these tests, we need to have the underlying function around.
* correct check for _uuid_generate_time (#388)Benjamin Peterson2017-03-021-1/+1
| | | If ctypes is not available, _uuid_generate_time will be None not its restype attribute.
* Revert "make the locale_flag fallback code work again (#375)" (#387)Benjamin Peterson2017-03-021-2/+3
| | | This reverts commit 43f5df5bfaea5a07c913d12cb92f78f997feb371.
* bpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260)Petr Motejlek2017-03-011-1/+89
| | | | (or any other exception) to exception(s) raised in the dispatched methods. Patch by Petr Motejlek.
* make the locale_flag fallback code work again (#375)Benjamin Peterson2017-03-011-3/+2
|
* use select instead of _opcode for import test (#372)Benjamin Peterson2017-03-011-5/+5
|
* weaken test_from_import_missing_attr_has_name_and_path regular expression (#371)Benjamin Peterson2017-03-011-1/+1
| | | Windows uses backslashes for separators.
* bpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used ↵Xiang Zhang2017-02-281-6/+7
| | | | as decorator (GH-231)