'Testing the supported limits of the int() base parameter.'

def test_int_base_limits(self):

    self.assertEqual(int('0', 5), 0)
    with self.assertRaises(ValueError):
        int('0', 1)
    with self.assertRaises(ValueError):
        int('0', 37)
    with self.assertRaises(ValueError):
        int('0', (-909))
    with self.assertRaises(ValueError):
        int('0', base=(0 - (2 ** 234)))
    with self.assertRaises(ValueError):
        int('0', base=(2 ** 234))
    for base in range(2, 37):
        self.assertEqual(int('0', base=base), 0)
