Lines Matching refs:int_max
4841 int_max = 2**63-1 if HAVE_CONFIG_64 else 2**31-1
4855 self.assertRaises(OverflowError, Context, prec=int_max+1)
4856 self.assertRaises(OverflowError, Context, Emax=int_max+1)
4857 self.assertRaises(OverflowError, Context, Emin=-int_max-2)
4858 self.assertRaises(OverflowError, Context, clamp=int_max+1)
4859 self.assertRaises(OverflowError, Context, capitals=int_max+1)
4863 self.assertRaises(OverflowError, setattr, c, attr, int_max+1)
4864 self.assertRaises(OverflowError, setattr, c, attr, -int_max-2)
4866 self.assertRaises(ValueError, setattr, c, attr, int_max)
4867 self.assertRaises(ValueError, setattr, c, attr, -int_max-1)
4872 int_max+1)
4874 int_max+1)
4876 -int_max-2)
4935 int_max = 2**63-1 if HAVE_CONFIG_64 else 2**31-1
4938 self.assertRaises(OverflowError, setattr, c, '_allcr', int_max+1)
4939 self.assertRaises(OverflowError, setattr, c, '_allcr', -int_max-2)
4941 self.assertRaises(ValueError, setattr, c, '_allcr', int_max)
4942 self.assertRaises(ValueError, setattr, c, '_allcr', -int_max-1)
4946 self.assertRaises(OverflowError, setattr, c, attr, int_max+1)
4947 self.assertRaises(OverflowError, setattr, c, attr, -int_max-2)
4949 self.assertRaises(TypeError, setattr, c, attr, int_max)
4950 self.assertRaises(TypeError, setattr, c, attr, -int_max-1)
5019 int_max = 2**63-1 if C.MAX_PREC > 425000000 else 2**31-1
5024 -int_max-1)
5026 int_max)
5032 -int_max-2)
5034 int_max+1)