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

Unified Diff: third_party/twisted_8_1/twisted/test/process_tester.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 side-by-side diff with in-line comments
Download patch
Index: third_party/twisted_8_1/twisted/test/process_tester.py
diff --git a/third_party/twisted_8_1/twisted/test/process_tester.py b/third_party/twisted_8_1/twisted/test/process_tester.py
deleted file mode 100644
index d9779b19001ba5caadf911407592aa0e6d35b3cb..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/test/process_tester.py
+++ /dev/null
@@ -1,37 +0,0 @@
-"""Test program for processes."""
-
-import sys, os
-
-test_file_match = "process_test.log.*"
-test_file = "process_test.log.%d" % os.getpid()
-
-def main():
- f = open(test_file, 'wb')
-
- # stage 1
- bytes = sys.stdin.read(4)
- f.write("one: %r\n" % bytes)
- # stage 2
- sys.stdout.write(bytes)
- sys.stdout.flush()
- os.close(sys.stdout.fileno())
-
- # and a one, and a two, and a...
- bytes = sys.stdin.read(4)
- f.write("two: %r\n" % bytes)
-
- # stage 3
- sys.stderr.write(bytes)
- sys.stderr.flush()
- os.close(sys.stderr.fileno())
-
- # stage 4
- bytes = sys.stdin.read(4)
- f.write("three: %r\n" % bytes)
-
- # exit with status code 23
- sys.exit(23)
-
-
-if __name__ == '__main__':
- main()
« no previous file with comments | « third_party/twisted_8_1/twisted/test/process_stdinreader.py ('k') | third_party/twisted_8_1/twisted/test/process_tty.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698