File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -262,9 +262,10 @@ def item_function_wrapper(*args, **kwargs):
262
262
baseline_image_ref = os .path .abspath (os .path .join (os .path .dirname (item .fspath .strpath ), baseline_dir , filename ))
263
263
264
264
if not os .path .exists (baseline_image_ref ):
265
- pytest .fail ("Image file not found for comparison test. "
266
- "(This is expected for new tests.)\n Generated Image: "
267
- "\n \t {test}" .format (test = test_image ), pytrace = False )
265
+ pytest .fail ("Image file not found for comparison test in: "
266
+ "\n \t {baseline_dir}"
267
+ "\n (This is expected for new tests.)\n Generated Image: "
268
+ "\n \t {test}" .format (baseline_dir = baseline_dir , test = test_image ), pytrace = False )
268
269
269
270
# distutils may put the baseline images in non-accessible places,
270
271
# copy to our tmpdir to be sure to keep them in case of failure
You can’t perform that action at this time.
0 commit comments