Lines Matching defs:sys
7 import sys
191 idle_dir = os.path.abspath(sys.path[0])
221 @unittest.skipIf(sys.platform.startswith('win'), 'this is test for unix system')
244 @unittest.skipIf(not sys.platform.startswith('win'), 'this is test for Windows system')
399 current_platform = sys.platform
402 sys.platform = 'win32'
405 sys.platform = 'darwin'
408 sys.platform = 'some-linux'
412 sys.platform = current_platform
458 ## key = ['<Option-Key-2>'] if sys.platform == 'darwin' else ['<Alt-Key-2>']
492 current_platform = sys.platform
496 sys.platform = 'some-linux'
502 # sys.platform = 'darwin'
506 sys.platform = current_platform