@@ -193,9 +193,9 @@ def test_read_dta2(self, datapath):
193
193
# buggy test because of the NaT comparison on certain platforms
194
194
# Format 113 test fails since it does not support tc and tC formats
195
195
# tm.assert_frame_equal(parsed_113, expected)
196
- tm .assert_frame_equal (parsed_114 , expected ) # , check_datetimelike_compat=True)
197
- tm .assert_frame_equal (parsed_115 , expected ) # , check_datetimelike_compat=True)
198
- tm .assert_frame_equal (parsed_117 , expected ) # , check_datetimelike_compat=True)
196
+ tm .assert_frame_equal (parsed_114 , expected )
197
+ tm .assert_frame_equal (parsed_115 , expected )
198
+ tm .assert_frame_equal (parsed_117 , expected )
199
199
200
200
@pytest .mark .parametrize (
201
201
"file" , ["stata3_113" , "stata3_114" , "stata3_115" , "stata3_117" ]
@@ -878,8 +878,8 @@ def test_big_dates(self, datapath):
878
878
expected = DataFrame (expected , columns = columns , dtype = object )
879
879
parsed_115 = read_stata (datapath ("io" , "data" , "stata" , "stata9_115.dta" ))
880
880
parsed_117 = read_stata (datapath ("io" , "data" , "stata" , "stata9_117.dta" ))
881
- tm .assert_frame_equal (expected , parsed_115 ) # , check_datetimelike_compat=True)
882
- tm .assert_frame_equal (expected , parsed_117 ) # , check_datetimelike_compat=True)
881
+ tm .assert_frame_equal (expected , parsed_115 )
882
+ tm .assert_frame_equal (expected , parsed_117 )
883
883
884
884
date_conversion = {c : c [- 2 :] for c in columns }
885
885
# {c : c[-2:] for c in columns}
@@ -891,7 +891,6 @@ def test_big_dates(self, datapath):
891
891
tm .assert_frame_equal (
892
892
written_and_read_again .set_index ("index" ),
893
893
expected .set_index (expected .index .astype (np .int32 )),
894
- # check_datetimelike_compat=True,
895
894
)
896
895
897
896
def test_dtype_conversion (self , datapath ):
@@ -1195,7 +1194,7 @@ def test_read_chunks_117(
1195
1194
tm .assert_frame_equal (
1196
1195
from_frame ,
1197
1196
chunk ,
1198
- check_dtype = False , # , check_datetimelike_compat=True
1197
+ check_dtype = False ,
1199
1198
)
1200
1199
pos += chunksize
1201
1200
@@ -1289,7 +1288,7 @@ def test_read_chunks_115(
1289
1288
tm .assert_frame_equal (
1290
1289
from_frame ,
1291
1290
chunk ,
1292
- check_dtype = False , # , check_datetimelike_compat=True
1291
+ check_dtype = False ,
1293
1292
)
1294
1293
pos += chunksize
1295
1294
0 commit comments