[Checkins] [zopefoundation/zope.testrunner] a6f45c: Enable warnings during test discovery.

GitHub noreply at github.com
Fri Nov 10 17:39:35 CET 2017


  Branch: refs/heads/issue57
  Home:   https://github.com/zopefoundation/zope.testrunner
  Commit: a6f45ca353f212c0c1240f5ca44b8518eaeb8b8e
      https://github.com/zopefoundation/zope.testrunner/commit/a6f45ca353f212c0c1240f5ca44b8518eaeb8b8e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/testrunner/runner.py

  Log Message:
  -----------
  Enable warnings during test discovery.

Fixes #57

Refactor the warning enablement into its own (protected) method (since
we need to use it during the already-public 'run' method) and go back
to just using `run_tests` Subclasses can still override that method to
change warning behaviour.

I did not add a specific test case for this.




More information about the checkins mailing list