[Checkins] [zopefoundation/zope.interface] 8bcfdd: Test sanity cleanups (#88)
GitHub
noreply at github.com
Fri Jun 9 04:19:14 CEST 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.interface
Commit: 8bcfddcfbe8a597c7af0de191d51569fa1b1f603
https://github.com/zopefoundation/zope.interface/commit/8bcfddcfbe8a597c7af0de191d51569fa1b1f603
Author: Jason Madden <jason+github at nextthought.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M .coveragerc
M .gitignore
M src/zope/interface/_compat.py
M src/zope/interface/common/tests/test_idatetime.py
M src/zope/interface/common/tests/test_import_interfaces.py
M src/zope/interface/tests/__init__.py
M src/zope/interface/tests/odd.py
M src/zope/interface/tests/test_adapter.py
M src/zope/interface/tests/test_advice.py
M src/zope/interface/tests/test_declarations.py
M src/zope/interface/tests/test_document.py
M src/zope/interface/tests/test_element.py
M src/zope/interface/tests/test_interface.py
M src/zope/interface/tests/test_interfaces.py
M src/zope/interface/tests/test_odd_declarations.py
M src/zope/interface/tests/test_registry.py
M src/zope/interface/tests/test_sorting.py
M src/zope/interface/tests/test_verify.py
M tox.ini
Log Message:
-----------
Test sanity cleanups (#88)
* Test sanity cleanups
Partially addresses #87
- Remove manual lists of tests in favor of loadTestsFromName. This
mostly gets all test runners running the same number of tests.
- Remove `additional_tests`, which was just duplicating the discovered
tests. No modern test runner seems to need it.
- Change the two compatibility skip decorators to actually use
unitetest skips, which helps with the reporting.
* Per @tseaver, drop most test_suite functions.
* Port remaining doctest to unittest.
* Make the odd tests work on all supported python versions
More information about the checkins
mailing list