[diffoscope] 02/04: Add a blank line before (and after) nested definition.

Chris Lamb chris at chris-lamb.co.uk
Sat Mar 3 23:46:07 CET 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit a5f4486e3789f9b3104ca7acf7f9a2508c3e3860
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Mar 3 22:40:26 2018 +0000

    Add a blank line before (and after) nested definition.
---
 tests/comparators/test_utils.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/comparators/test_utils.py b/tests/comparators/test_utils.py
index dd7b028..e3ac306 100644
--- a/tests/comparators/test_utils.py
+++ b/tests/comparators/test_utils.py
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list