Skip to content

Commit 1aa2f66

Browse files
committed
Fix path in orca testing
1 parent c6a0419 commit 1aa2f66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plotly-package/plotly/tests/test_orca/test_to_image.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
tmp_dir = images_dir + 'tmp/'
3030
# These formats are deterministic. PDF and svg don't seem to be
3131
image_formats = ['eps']
32-
topo_df = pd.read_csv('plotly/tests/test_orca/resources/2011_us_ag_exports.csv')
32+
33+
here = os.path.dirname(os.path.realpath(__file__))
34+
topo_df = pd.read_csv(
35+
os.path.join(here, 'resources', '2011_us_ag_exports.csv'))
3336

3437
# Fixtures
3538
# --------

0 commit comments

Comments
 (0)