summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/tests/conftest.py')
-rw-r--r--gerbonara/gerber/tests/conftest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gerbonara/gerber/tests/conftest.py b/gerbonara/gerber/tests/conftest.py
index 0ad2555..c8fd475 100644
--- a/gerbonara/gerber/tests/conftest.py
+++ b/gerbonara/gerber/tests/conftest.py
@@ -3,14 +3,13 @@ import pytest
from .image_support import ImageDifference
-@pytest.hookimpl(tryfirst=True, hookwrapper=True)
def pytest_assertrepr_compare(op, left, right):
if isinstance(left, ImageDifference) or isinstance(right, ImageDifference):
diff = left if isinstance(left, ImageDifference) else right
return [
f'Image difference assertion failed.',
f' Reference: {diff.ref_path}',
- f' Actual: {diff.out_path}',
+ f' Actual: {diff.act_path}',
f' Calculated difference: {diff}', ]
# store report in node object so tmp_gbr can determine if the test failed.