]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
- Issue #16662: load_tests() is now unconditionally run when it is present in
authorBarry Warsaw <barry@python.org>
Mon, 8 Sep 2014 18:21:37 +0000 (14:21 -0400)
committerBarry Warsaw <barry@python.org>
Mon, 8 Sep 2014 18:21:37 +0000 (14:21 -0400)
commitd78742a260ba09e53c844de7b1fd11a11c674945
treef56cc75aa6ba17e8dc070576d9e5eacfb18a82dd
parent238f5aa6a55e7b1193342453250955455998f0a4
- Issue #16662: load_tests() is now unconditionally run when it is present in
  a package's __init__.py.  TestLoader.loadTestsFromModule() still accepts
  use_load_tests, but it is deprecated and ignored.  A new keyword-only
  attribute `pattern` is added and documented.  Patch given by Robert Collins,
  tweaked by Barry Warsaw.
Doc/library/unittest.rst
Lib/unittest/loader.py
Lib/unittest/test/test_discovery.py
Lib/unittest/test/test_loader.py
Misc/NEWS