File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plotly-package/plotly/tests/test_orca Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ def test_write_image_string_no_extension_failure(fig1):
250250
251251 # Use file extension to infer image type.
252252 with pytest .raises (ValueError ) as err :
253- pio .write_image (fig1 , os . path . join ( file_path , 'fig1' ) )
253+ pio .write_image (fig1 , file_path )
254254
255255 assert 'add a file extension or specify the type' in str (err .value )
256256
@@ -261,7 +261,7 @@ def test_write_image_string_bad_extension_failure(fig1):
261261
262262 # Use file extension to infer image type.
263263 with pytest .raises (ValueError ) as err :
264- pio .write_image (fig1 , os . path . join ( file_path , 'fig1' ) )
264+ pio .write_image (fig1 , file_path )
265265
266266 assert 'must be specified as one of the following' in str (err .value )
267267
You can’t perform that action at this time.
0 commit comments