Lines Matching defs:sys
18 import sys
72 sys.stdout.flush()
163 if sys.platform == "win32":
189 if sys.platform == "win32":
724 oldswitchinterval = sys.getswitchinterval()
725 sys.setswitchinterval(1e-6)
731 sys.setswitchinterval(oldswitchinterval)
992 @unittest.skipUnless(sys.platform=='win32', 'Windows-only process limit')
1048 sys.excepthook(*sys.exc_info())
1171 """Induces a sys exit with exitcode 1."""
1172 sys.exit(1)
1183 sys.stderr = io.StringIO()
1248 print(f"\nTraceback:\n {tb}", file=sys.__stderr__)