Lines Matching refs:logical_and
150 nameAdapter = {'and':'logical_and',
1616 self.assertEqual(Decimal(10101).logical_and(1001),
1617 Decimal(10101).logical_and(Decimal(1001)))
1965 d = c.logical_and(Decimal(1), Decimal(1))
1966 self.assertEqual(c.logical_and(1, 1), d)
1967 self.assertEqual(c.logical_and(Decimal(1), 1), d)
1968 self.assertEqual(c.logical_and(1, Decimal(1)), d)
1969 self.assertRaises(TypeError, c.logical_and, '1', 1)
1970 self.assertRaises(TypeError, c.logical_and, 1, '1')