Skip to content

Commit 3126f62

Browse files
authored
Flush output after writing diff (#5154)
Prevents the output from being garbled by other output.
1 parent dd1a687 commit 3126f62

File tree

1 file changed

+1
-0
lines changed
  • test/migration-tool-tests/src/test/resources

1 file changed

+1
-0
lines changed

test/migration-tool-tests/src/test/resources/run-test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def compare_directory(dcmp):
4343
b = dcmp.left + "/" + diff_file
4444
b_contents = open(b, 'r').readlines()
4545
sys.stdout.writelines(unified_diff(a_contents, b_contents, fromfile=a, tofile=b))
46+
sys.stdout.flush()
4647

4748
return False
4849
for sub_dcmp in dcmp.subdirs.values():

0 commit comments

Comments
 (0)