mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 21:43:09 +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.
|
||||
"""
|
||||
options = parse_options(["run", self.nodedir.path])
|
||||
stdout = options.stdout = StringIO()
|
||||
stderr = options.stderr = StringIO()
|
||||
stdin = options.stdin = StringIO()
|
||||
options.stdout = StringIO()
|
||||
options.stderr = StringIO()
|
||||
options.stdin = StringIO()
|
||||
run_options = options.subOptions
|
||||
|
||||
with AlternateReactor(self.reactor):
|
||||
@ -213,9 +213,9 @@ class DaemonizeStopTests(SyncTestCase):
|
||||
stop the process
|
||||
"""
|
||||
options = parse_options(["run", "--allow-stdin-close", self.nodedir.path])
|
||||
stdout = options.stdout = StringIO()
|
||||
stderr = options.stderr = StringIO()
|
||||
stdin = options.stdin = StringIO()
|
||||
options.stdout = StringIO()
|
||||
options.stderr = StringIO()
|
||||
options.stdin = StringIO()
|
||||
run_options = options.subOptions
|
||||
|
||||
with AlternateReactor(self.reactor):
|
||||
|
Loading…
Reference in New Issue
Block a user