def test_duplicate_updates(self):
        x, y = dmatrices('x', 'y')
        z = shared(numpy.ones((2, 3)))
        self.assertRaises(ValueError, theano.function, [x, y], [z],
                updates=[(z, (z + x + y)), (z, (x - z))])
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/compile/tests/test_pfunc.py/Test_pfunc.test_duplicate_updates/swapped operands of `-`