diff options
author | Michael Foord <michael@voidspace.org.uk> | 2013-03-19 00:50:12 (GMT) |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2013-03-19 00:50:12 (GMT) |
commit | 80cbc9e99835f3ae72c62999b4852beab76a9017 (patch) | |
tree | 476c4d24a6339cbba64f322f37ba58abc0208b0e /Doc/library/unittest.rst | |
parent | 7f6d79721d58962cb7914e8d8f4f5f717a8de8c0 (diff) | |
download | cpython-80cbc9e99835f3ae72c62999b4852beab76a9017.zip cpython-80cbc9e99835f3ae72c62999b4852beab76a9017.tar.gz cpython-80cbc9e99835f3ae72c62999b4852beab76a9017.tar.bz2 |
Closes issue 16709. unittest test discovery sorts test files for consistent test ordering
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 0b676af..5e7c328 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1518,6 +1518,11 @@ Loading and running tests Modules that raise ``SkipTest`` on import are recorded as skips, not errors. + .. versionchanged:: 3.4 + Paths are sorted before being imported to ensure execution order for a + given test suite is the same even if the underlying file system's ordering + is not dependent on file name like in ext3/4. + The following attributes of a :class:`TestLoader` can be configured either by subclassing or assignment on an instance: |