| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
easily unregister them as the registry tries to find the handler with 'is' but it should use '==' to allow the python BoundMethod wrapper (which is a new instance every time instance.$methodname is accessed).
|
| |\
| |
| | |
Drop `__annotations__` in interface declarations, added to interface definitions with Python 3.x type hints.
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
| |
zest.releaser doesn't try to create and upload one.
|
| |\
| |
| | |
Enable combined coverage reports under tox and branch coverage
|
| | |
| |
| |
| | |
callers already do this guard; be more explicit about ClassType in test_odd_declarations
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Fixes #91
Remove many (or most) now-redundant 'pragma: no cover'.
A few minor test changes to get full branch coverage.
|
| |\ \
| |/
|/| |
Fix the cache getting out of sync with _utility_registrations.
|
| |/
|
|
| |
Fixes #93
|
| |\
| |
| | |
Fix #85 by implementing __reduce__ to omit _v_ attributes.
|
| |/
|
|
|
|
|
|
|
|
| |
This is an alternative to #86 and was suggested by @mgedmin in #85.
There are tests to be sure this works for subclasses like Pyramid's
Registry that extend dict too.
This doesn't change the pickle format, we were storing the output of
object.__reduce__ previously.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Get as close to 100% coverage as possible.
Without conflicting with #86.
This is almost entirely trivial changes:
- Make dummy methods that should never be called either raise
NotImplementedError or call self.fail() in tests.
- Standardize the no-coverage pragma
- Add a few pragmas where coverage varies across
versions/implementations, mostly for the sake of tox (travis should
hit them all).
* Convert tox to run the coverage command, like travis. A follow up should have it produce coverage for all python versions/implementations.
Fixes #87
* Adjust coverage config for py2 only tests; fix typo; finish replacing self with cls
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable coveralls
Test coverage is not at 100% yet so it should fail this PR.
Also enable pip caching since we are installing more deps.
Update PyPy versions to latest available for speed and because the old
version of PyPy3 can't install newer pip and coverage, etc.
Partially addresses #87
* Even newer pypys
* Despite the list, pypy-5.6 doesn,t work, it must be 5.6.0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Simply the caching of utility-registration data. In addition to
|
| | | |
|
| | | |
|
| |/
|
|
|
| |
simplification, avoids spurious test failures when checking for
leaks in tests with persistent registries.
|
| |\
| |
| | |
Disallow non-text name passed to adapter registry methods.
|
| | |
| |
| |
| |
| |
| | |
Prevents corruption of lookup cache.
Alternative to fix proposed in #75.
|
| |/ |
|
| |\
| |
| | |
cleanup after manylinux wheelbuilding
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| | |
CI setup for manylinux wheels on tagged commit
|
| |/ |
|
| |
|
| |
Classes (factories) _implement_, objects _provide_. After first carefully explaining the difference, the docs mix them up.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for Python 3.6.
Also use macpython for all the mac builds. See
zopefoundation/persistent#59
* Install the test extra with pip.
hopefully this avoids the SSL issue seen in macpython
3.6 (https://travis-ci.org/zopefoundation/zope.interface/jobs/192367647)
Also update appveyor.yml
|
| | |
|
| | |
|
| |\
| |
| | |
Expose IComponent documentation.
|
| | | |
|
| |\ \
| |/
|/| |
Don't redefine METH_KEYWORDS
|
| |/
|
|
|
|
| |
Instead, use the intended METH_KEYWORDS | METH_VARARGS spelling.
Fixes #71
|
| | |
|
| | |
|
| |
|
|
| |
[ci skip]
|
| |\
| |
| | |
Document API for adapter registry.
|
| | |
| |
| |
| | |
Closes: #41.
|
| |/
|
|
|
|
| |
Closes #23.
[ci skip]
|
| |\
| |
| | |
Ensure that LICENSE.txt is present in built wheels.
|
| | | |
|