Lines Matching refs:FloatOperation
73 C.FloatOperation] if C else None,
76 P.FloatOperation]
2749 FloatOperation = decimal.FloatOperation
2761 self.assertTrue(issubclass(FloatOperation, DecimalException))
2762 self.assertTrue(issubclass(FloatOperation, TypeError))
3778 FloatOperation = self.decimal.FloatOperation
3783 self.assertFalse(c.traps[FloatOperation])
3788 self.assertTrue(c.flags[FloatOperation])
3792 self.assertTrue(c.flags[FloatOperation])
3797 self.assertFalse(c.flags[FloatOperation])
3800 self.assertTrue(c.flags[FloatOperation])
3804 self.assertFalse(c.flags[FloatOperation])
3806 self.assertTrue(c.flags[FloatOperation])
3809 c.traps[FloatOperation] = True
3813 self.assertRaises(FloatOperation, Decimal, 7.5)
3814 self.assertTrue(c.flags[FloatOperation])
3817 self.assertRaises(FloatOperation, c.create_decimal, 7.5)
3818 self.assertTrue(c.flags[FloatOperation])
3823 self.assertFalse(c.flags[FloatOperation])
3827 self.assertFalse(c.flags[FloatOperation])
3832 FloatOperation = self.decimal.FloatOperation
3838 if signal == FloatOperation:
3842 self.assertTrue(context.flags[FloatOperation])
3893 self.assertTrue(c.flags[FloatOperation])
3900 self.assertTrue(c.flags[FloatOperation])
3904 self.assertTrue(c.flags[FloatOperation])
3908 self.assertTrue(c.flags[FloatOperation])
3912 self.assertFalse(c.traps[FloatOperation])
3916 c.traps[FloatOperation] = True
3917 doit(c, signal=FloatOperation)
3918 test_containers(c, signal=FloatOperation)
3924 FloatOperation= self.decimal.FloatOperation
3927 self.assertFalse(context.flags[FloatOperation])
3928 self.assertFalse(context.traps[FloatOperation])
3932 context.traps[FloatOperation] = True
3933 self.assertTrue(context.traps[FloatOperation])
4778 FloatOperation = C.FloatOperation
4791 c.flags[FloatOperation] = True
4792 c.traps[FloatOperation] = True
4807 FloatOperation = C.FloatOperation
4828 del d[FloatOperation]