Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-26 00:59:35 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-26 17:37:59 +0300
commit11995c5a6ec99f6b08cc2bbb315fd237659356cc (patch)
treea66330460fd54c856edb507641a6403aab00443e /tests/python/view_layer
parentd60be68100cd306d8e1234b89b2741dc4423a332 (diff)
Fix reversed diff output order in view layer tests.
Diffstat (limited to 'tests/python/view_layer')
-rw-r--r--tests/python/view_layer/view_layer_common.py4
1 files changed, 2 insertions, 2 deletions
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