summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/tests/utils.py')
-rw-r--r--gerbonara/gerber/tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/tests/utils.py b/gerbonara/gerber/tests/utils.py
index ee8fc68..f63f3c6 100644
--- a/gerbonara/gerber/tests/utils.py
+++ b/gerbonara/gerber/tests/utils.py
@@ -11,7 +11,7 @@ from PIL import Image
import pytest
fail_dir = Path('gerbonara_test_failures')
-reference_path = lambda reference: Path(__file__).parent / 'resources' / reference
+reference_path = lambda reference: Path(__file__).parent / 'resources' / str(reference)
to_gerbv_svg_units = lambda val, unit='mm': val*72 if unit == 'inch' else val/25.4*72
def path_test_name(request):