Source: lasagne Version: 0.1+git20160728.8b66737-1 Severity: normal On Python 3.5, there are two failures in the tests:
<buildlog>
=================================== FAILURES ===================================
____________ TestGetOutput_Layer.test_get_output_with_unused_kwarg _____________
self = <test_helper.TestGetOutput_Layer object at 0x7f85b50165f8>
layers = (<Mock name='mock.input_layer.input_layer' spec='InputLayer'
id='140212301800560'>, <Mock name='mock.input_layer' spec='Layer'
id='140212301800896'>, <Mock spec='Layer' id='140212301800056'>)
get_output = <function get_output at 0x7f85c3c72158>
def test_get_output_with_unused_kwarg(self, layers, get_output):
l1, l2, l3 = layers
unused_kwarg = object()
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter('always')
get_output(l3, kwagg=unused_kwarg)
> assert len(w) == 1
E assert 3 == 1
E + where 3 = len([<warnings.WarningMessage object at
0x7f85b37246d8>, <warnings.WarningMessage object at 0x7f85b8066b00>,
<warnings.WarningMessage object at 0x7f85b3724240>])
lasagne/tests/layers/test_helper.py:237: AssertionError
___________ TestGetOutput_Layer.test_get_output_with_no_unused_kwarg ___________
self = <test_helper.TestGetOutput_Layer object at 0x7f85b4db8828>
layers = (<Mock name='mock.input_layer.input_layer' spec='InputLayer'
id='140212486048064'>, <Mock name='mock.input_layer' spec='Layer'
id='140212486048512'>, <Mock spec='Layer' id='140212486046384'>)
get_output = <function get_output at 0x7f85c3c72158>
def test_get_output_with_no_unused_kwarg(self, layers, get_output):
l1, l2, l3 = layers
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter('always')
get_output(l3)
> assert len(w) == 0
E assert 2 == 0
E + where 2 = len([<warnings.WarningMessage object at
0x7f85b8066128>, <warnings.WarningMessage object at 0x7f85b8066908>])
lasagne/tests/layers/test_helper.py:246: AssertionError
============= 2 failed, 687 passed, 302 skipped in 649.78 seconds ==============
E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: python3.5
-m pytest -v -rs lasagne/
</buildlog>
DS
--
4096R/DF5182C8
http://www.danielstender.com/blog/
signature.asc
Description: OpenPGP digital signature

