[Python-checkins] cpython: whatsnew: unittest discovery sorting, urlllib Request getter/setter removals.
r.david.murray
python-checkins at python.org
Fri Jan 3 21:53:50 CET 2014
http://hg.python.org/cpython/rev/4799400c09aa
changeset: 88283:4799400c09aa
user: R David Murray <rdmurray at bitdance.com>
date: Fri Jan 03 15:46:24 2014 -0500
summary:
whatsnew: unittest discovery sorting, urlllib Request getter/setter removals.
files:
Doc/whatsnew/3.4.rst | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1019,6 +1019,10 @@
module level in the test file), it is now reported as a skip instead of an
error. (Contributed by Zach Ware in :issue:`16935`.)
+:meth:`~unittest.TestLoader.discover` now sorts the discovered files to provide
+consistent test ordering. (Contributed by Martin Melin and Jeff Ramnani in
+:issue:`16709`.)
+
venv
----
@@ -1318,6 +1322,11 @@
:class:`~http.client.HTTPSConnection` has been removed. HTTP 0.9-style
"Simple Responses" are no longer supported.
+* The deprecated :mod:`urllib.request.Request` getter and setter methods
+ ``add_data``, ``has_data``, ``get_data``, ``get_type``, ``get_host``,
+ ``get_selector``, ``set_proxy``, ``get_origin_req_host``, and
+ ``is_unverifiable`` have been removed (use direct attribute access instead).
+
Porting to Python 3.4
=====================
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list