Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: third_party/twisted_8_1/twisted/test/process_stdinreader.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
2 # See LICENSE for details.
3
4 """Script used by twisted.test.test_process on win32."""
5
6 import sys, time, os, msvcrt
7 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
8 msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
9
10
11 sys.stdout.write("out\n")
12 sys.stdout.flush()
13 sys.stderr.write("err\n")
14 sys.stderr.flush()
15
16 data = sys.stdin.read()
17
18 sys.stdout.write(data)
19 sys.stdout.write("\nout\n")
20 sys.stderr.write("err\n")
21
22 sys.stdout.flush()
23 sys.stderr.flush()
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/test/process_signal.py ('k') | third_party/twisted_8_1/twisted/test/process_tester.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698