summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2009-09-13 17:28:35 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2009-09-13 17:28:35 (GMT)
commit5a9719d62745a8eed14b5084c2bdb16bf5cb8011 (patch)
treee44c845567849c3df63ce14a52362c94759f36eb /Doc
parentee2df0300933e8a21372baae01ad2cf2e60a0282 (diff)
downloadcpython-5a9719d62745a8eed14b5084c2bdb16bf5cb8011.zip
cpython-5a9719d62745a8eed14b5084c2bdb16bf5cb8011.tar.gz
cpython-5a9719d62745a8eed14b5084c2bdb16bf5cb8011.tar.bz2
unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/2.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index 6089d33..622da3e 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -509,6 +509,9 @@ changes, or look through the Subversion logs for all the details.
(automatically pass or fail without checking decimal places) if the objects
are equal.
+ * :meth:`loadTestsFromName` properly honors the ``suiteClass`` attribute of
+ the :class:`TestLoader`. (Fixed by Mark Roddy; :issue:`6866`.)
+
* A new hook, :meth:`addTypeEqualityFunc` takes a type object and a
function. The :meth:`assertEqual` method will use the function
when both of the objects being compared are of the specified type.