test_hash_missing_required_attrs failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.interface |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
When running the whole test suite via "python setup.py test", the newly-added (in 3.6.5) test_hash_
=======
FAIL: test_hash_
-------
Traceback (most recent call last):
File "/builddir/
self.
AssertionError: 0 != 1
-------
Ran 167 tests in 0.209s
FAILED (failures=1)
Attached patch fixes the problem for me by ensuring that no warnings are filtered.
Changed in zope.interface: | |
status: | Fix Committed → Fix Released |
Thanks for the catch: the tests all passed when run under the buildout's
'test' command.
I will apply your fix, moving the 'setfilters' call inside the
'with catch_warnings' statement, so that any previous settings get
restored.