Commit: 11995c5a6ec99f6b08cc2bbb315fd237659356cc Author: Brecht Van Lommel Date: Wed Apr 25 23:59:35 2018 +0200 Branches: blender2.8 https://developer.blender.org/rB11995c5a6ec99f6b08cc2bbb315fd237659356cc
Fix reversed diff output order in view layer tests. =================================================================== M tests/python/view_layer/view_layer_common.py =================================================================== 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 _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs