Lines Matching refs:logical_xor
2275 ans = str(x.logical_xor(101, context=None))
2277 self.assertRaises(InvalidOperation, x.logical_xor, 123, context=None)
2412 self.assertEqual(Decimal(10101).logical_xor(1001),
2413 Decimal(10101).logical_xor(Decimal(1001)))
2732 self.assertEqual(D('01').logical_xor(D('10'), context=xc), 1)
3251 d = c.logical_xor(Decimal(1), Decimal(1))
3252 self.assertEqual(c.logical_xor(1, 1), d)
3253 self.assertEqual(c.logical_xor(Decimal(1), 1), d)
3254 self.assertEqual(c.logical_xor(1, Decimal(1)), d)
3255 self.assertRaises(TypeError, c.logical_xor, '1', 1)
3256 self.assertRaises(TypeError, c.logical_xor, 1, '1')