Skip to content

Commit c22ee20

Browse files
committed
remove commented-out
1 parent 2e09000 commit c22ee20

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

pandas/tests/io/test_stata.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ def test_read_dta2(self, datapath):
193193
# buggy test because of the NaT comparison on certain platforms
194194
# Format 113 test fails since it does not support tc and tC formats
195195
# 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)
199199

200200
@pytest.mark.parametrize(
201201
"file", ["stata3_113", "stata3_114", "stata3_115", "stata3_117"]
@@ -878,8 +878,8 @@ def test_big_dates(self, datapath):
878878
expected = DataFrame(expected, columns=columns, dtype=object)
879879
parsed_115 = read_stata(datapath("io", "data", "stata", "stata9_115.dta"))
880880
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)
883883

884884
date_conversion = {c: c[-2:] for c in columns}
885885
# {c : c[-2:] for c in columns}
@@ -891,7 +891,6 @@ def test_big_dates(self, datapath):
891891
tm.assert_frame_equal(
892892
written_and_read_again.set_index("index"),
893893
expected.set_index(expected.index.astype(np.int32)),
894-
# check_datetimelike_compat=True,
895894
)
896895

897896
def test_dtype_conversion(self, datapath):
@@ -1195,7 +1194,7 @@ def test_read_chunks_117(
11951194
tm.assert_frame_equal(
11961195
from_frame,
11971196
chunk,
1198-
check_dtype=False, # , check_datetimelike_compat=True
1197+
check_dtype=False,
11991198
)
12001199
pos += chunksize
12011200

@@ -1289,7 +1288,7 @@ def test_read_chunks_115(
12891288
tm.assert_frame_equal(
12901289
from_frame,
12911290
chunk,
1292-
check_dtype=False, # , check_datetimelike_compat=True
1291+
check_dtype=False,
12931292
)
12941293
pos += chunksize
12951294

0 commit comments

Comments
 (0)