File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ def test_h5_io(tmpdir):
366
366
lipro = Axis ('lipro=P01..P05' )
367
367
anonymous = Axis (range (3 ))
368
368
wildcard = Axis (3 , 'wildcard' )
369
- fpath = os .path .join (tmpdir , 'axes.h5' )
369
+ fpath = os .path .join (str ( tmpdir ) , 'axes.h5' )
370
370
371
371
# ---- default behavior ----
372
372
# int axis
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def test_to_float_lgroup():
136
136
assert float (a ['42' ]) == 42.0
137
137
138
138
def test_h5_io_lgroup (tmpdir ):
139
- fpath = os .path .join (tmpdir , 'lgroups.h5' )
139
+ fpath = os .path .join (str ( tmpdir ) , 'lgroups.h5' )
140
140
age .to_hdf (fpath )
141
141
142
142
named = age [':5' ] >> 'age_05'
@@ -342,7 +342,7 @@ def test_to_float_igroup():
342
342
assert float (a .i [0 ]) == 42.0
343
343
344
344
def test_h5_io_igroup (tmpdir ):
345
- fpath = os .path .join (tmpdir , 'igroups.h5' )
345
+ fpath = os .path .join (str ( tmpdir ) , 'igroups.h5' )
346
346
age .to_hdf (fpath )
347
347
348
348
named = age .i [:6 ] >> 'age_05'
You can’t perform that action at this time.
0 commit comments