r47292 - more uniform
hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Sun, 17 Apr 2016 23:04:04 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: hawkowl
Date: Sun Apr 17 23:03:59 2016
New Revision: 47292
Modified:
branches/cov-subprocess-8266-2/twisted/test/test_process.py
Log:
more uniform
Modified: branches/cov-subprocess-8266-2/twisted/test/test_process.py
==============================================================================
--- branches/cov-subprocess-8266-2/twisted/test/test_process.py (original)
+++ branches/cov-subprocess-8266-2/twisted/test/test_process.py Sun Apr 17 23:03:59 2016
@@ -387,7 +387,7 @@
"""
self = cls()
reactor.spawnProcess(
- self, pyExe, [pyExe, "-u", b"-m", self.programName] + argv,
+ self, pyExe, [pyExe, b"-u", b"-m", self.programName] + argv,
env=env)
return self
@@ -500,7 +500,7 @@
scriptPath = b"twisted.test.process_twisted"
p = Accumulator()
d = p.endedDeferred = defer.Deferred()
- reactor.spawnProcess(p, pyExe, [pyExe, b"-m", scriptPath],
+ reactor.spawnProcess(p, pyExe, [pyExe, b'-u', b"-m", scriptPath],
env=properEnv,
path=None, usePTY=self.usePTY)
p.transport.write(b"hello, world")
@@ -526,7 +526,7 @@
p = TrivialProcessProtocol(finished)
scriptPath = b"twisted.test.process_echoer"
procTrans = reactor.spawnProcess(p, pyExe,
- [pyExe, b"-m", scriptPath],
+ [pyExe, b'-u', b"-m", scriptPath],
env=properEnv)
self.assertTrue(procTrans.pid)
@@ -577,7 +577,7 @@
self.assertEqual(f.value.exitCode, 23)
scriptPath = b"twisted.test.process_tester"
- args = [pyExe, b"-m", scriptPath]
+ args = [pyExe, b'-u', b"-m", scriptPath]
protocols = []
deferreds = []
@@ -602,7 +602,7 @@
p = EchoProtocol(finished)
scriptPath = b"twisted.test.process_echoer"
- reactor.spawnProcess(p, pyExe, [pyExe, b"-m", scriptPath],
+ reactor.spawnProcess(p, pyExe, [pyExe, b'-u', b"-m", scriptPath],
env=properEnv)
def asserts(ignored):
@@ -960,7 +960,7 @@
scriptPath = b"twisted.test.process_fds"
d = defer.Deferred()
p = FDChecker(d)
- reactor.spawnProcess(p, pyExe, [pyExe, b"-m", scriptPath],
+ reactor.spawnProcess(p, pyExe, [pyExe, b"-u", b"-m", scriptPath],
env=properEnv,
childFDs={0:"w", 1:"r", 2:2,
3:"w", 4:"r", 5:"w"})