Show More
@@ -1820,4 +1820,13 b' class TestRunner(object):' | |||
|
1820 | 1820 | |
|
1821 | 1821 | if __name__ == '__main__': |
|
1822 | 1822 | runner = TestRunner() |
|
1823 | ||
|
1824 | try: | |
|
1825 | import msvcrt | |
|
1826 | msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY) | |
|
1827 | msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) | |
|
1828 | msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY) | |
|
1829 | except ImportError: | |
|
1830 | pass | |
|
1831 | ||
|
1823 | 1832 | sys.exit(runner.run(sys.argv[1:])) |
General Comments 0
You need to be logged in to leave comments.
Login now