Lines Matching defs:sys
14 import sys
97 if not sys.platform.startswith('java'):
139 if not sys.platform.startswith('java'):
541 @unittest.skipIf(sys.maxsize > 2**32,
544 size = int(sys.maxsize**0.5) + 1
683 if not sys.platform.startswith('java'):
721 for codepoint in range(sys.maxunicode + 1):
985 @unittest.skipUnless(sys.maxsize == 2**31 - 1, "requires 32-bit system")
1433 format_string = ".{}f".format(sys.maxsize + 1)
1438 format_string = "{}f".format(sys.maxsize + 1)
1443 format_string = "{{{}:.6f}}".format(sys.maxsize + 1)
1486 if not sys.platform.startswith('java'):
1622 format_string = "%.{}f".format(sys.maxsize + 1)
1643 format_string = "%{}f".format(sys.maxsize + 1)
1704 if not sys.platform.startswith('java'):
1718 if not sys.platform.startswith('java'):
2426 @unittest.skipIf(sys.maxsize > (1 << 32) or struct.calcsize('P') != 4,
2429 self.assertRaises(OverflowError, 't\tt\t'.expandtabs, sys.maxsize)
2456 # Note: sys.maxsize is half of the actual max allocation because of
2459 maxlen = ((sys.maxsize - struct_size) // char_size)
2468 sys.getsizeof(char * 42),
2605 import sys
2614 sys.exit(21)
2621 sys.exit(22)
2629 sys.exit(22)
2637 sys.exit(23)
2644 sys.exit(24)
2652 sys.exit(24)
2654 sys.exit(10)