tests/seq.py
changeset 43076 2372284d9457
parent 40807 0605726179a0
child 45849 c102b704edb5
equal deleted inserted replaced
43075:57875cf423c9 43076:2372284d9457
    11 import os
    11 import os
    12 import sys
    12 import sys
    13 
    13 
    14 try:
    14 try:
    15     import msvcrt
    15     import msvcrt
       
    16 
    16     msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
    17     msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
    17     msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
    18     msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
    18     msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
    19     msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
    19 except ImportError:
    20 except ImportError:
    20     pass
    21     pass