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
            assert issubclass(w[0].category, UserWarning)
            assert str(w[0].message) in 'perhaps you meant kwarg'
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/tests/layers/test_helper.py/TestGetOutput_Layer.test_get_output_with_unused_kwarg/swapped operands of `in`