From 11995c5a6ec99f6b08cc2bbb315fd237659356cc Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 25 Apr 2018 23:59:35 +0200 Subject: Fix reversed diff output order in view layer tests. --- tests/python/view_layer/view_layer_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/python/view_layer') diff --git a/tests/python/view_layer/view_layer_common.py b/tests/python/view_layer/view_layer_common.py index 4ca0fec0796..df47e72c327 100644 --- a/tests/python/view_layer/view_layer_common.py +++ b/tests/python/view_layer/view_layer_common.py @@ -182,7 +182,7 @@ def compare_files(file_a, file_b): if DUMP_DIFF: import subprocess - subprocess.call(["diff", "-u", file_a, file_b]) + subprocess.call(["diff", "-u", file_b, file_a]) if UPDATE_DIFF: import subprocess @@ -191,7 +191,7 @@ def compare_files(file_a, file_b): if PDB: import pdb - print("Files differ:", file_a, file_b) + print("Files differ:", file_b, file_a) pdb.set_trace() return False -- cgit v1.2.3