File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2062,9 +2062,8 @@ def test_backward_compat_nodateconversion(version, datapath):
2062
2062
def test_backward_compat_nostring (version , datapath ):
2063
2063
# The Stata data format prior to 105 did not support a date format
2064
2064
# so read the raw values for comparison
2065
- data_base = datapath ("io" , "data" , "stata" )
2066
- ref = os .path .join (data_base , "stata-compat-118.dta" )
2067
- old = os .path .join (data_base , f"stata-compat-{ version } .dta" )
2065
+ ref = datapath ("io" , "data" , "stata" , "stata-compat-118.dta" )
2066
+ old = datapath ("io" , "data" , "stata" , f"stata-compat-{ version } .dta" )
2068
2067
expected = read_stata (ref , convert_dates = False )
2069
2068
# The Stata data format prior to 103 did not support string data
2070
2069
expected = expected .drop (columns = ["s10" ])
You can’t perform that action at this time.
0 commit comments