mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 09:48:56 +00:00
flake8
This commit is contained in:
parent
e765c8db6f
commit
357c9b003f
@ -179,9 +179,9 @@ class DaemonizeStopTests(SyncTestCase):
|
|||||||
We stop when stdin is closed.
|
We stop when stdin is closed.
|
||||||
"""
|
"""
|
||||||
options = parse_options(["run", self.nodedir.path])
|
options = parse_options(["run", self.nodedir.path])
|
||||||
stdout = options.stdout = StringIO()
|
options.stdout = StringIO()
|
||||||
stderr = options.stderr = StringIO()
|
options.stderr = StringIO()
|
||||||
stdin = options.stdin = StringIO()
|
options.stdin = StringIO()
|
||||||
run_options = options.subOptions
|
run_options = options.subOptions
|
||||||
|
|
||||||
with AlternateReactor(self.reactor):
|
with AlternateReactor(self.reactor):
|
||||||
@ -213,9 +213,9 @@ class DaemonizeStopTests(SyncTestCase):
|
|||||||
stop the process
|
stop the process
|
||||||
"""
|
"""
|
||||||
options = parse_options(["run", "--allow-stdin-close", self.nodedir.path])
|
options = parse_options(["run", "--allow-stdin-close", self.nodedir.path])
|
||||||
stdout = options.stdout = StringIO()
|
options.stdout = StringIO()
|
||||||
stderr = options.stderr = StringIO()
|
options.stderr = StringIO()
|
||||||
stdin = options.stdin = StringIO()
|
options.stdin = StringIO()
|
||||||
run_options = options.subOptions
|
run_options = options.subOptions
|
||||||
|
|
||||||
with AlternateReactor(self.reactor):
|
with AlternateReactor(self.reactor):
|
||||||
|
Loading…
Reference in New Issue
Block a user