Skip to content
Snippets Groups Projects
Commit a5f4486e authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Add a blank line before (and after) nested definition.

parent bac56a5f
No related branches found
No related tags found
No related merge requests found
......@@ -112,10 +112,12 @@ def test_trim_stderr_in_command():
def stdin(self):
r, w = os.pipe()
r, w = os.fdopen(r), os.fdopen(w, "w")
def write():
for dummy in range(0, Command.MAX_STDERR_LINES + 1):
w.write('error {}\n'.format(self.path))
threading.Thread(target=write).start()
return r
difference = Difference.from_command(FillStderr, 'dummy1', 'dummy2')
assert '[ 1 lines ignored ]' in difference.comment
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment