Skip to content

Commit a16175c

Browse files
committed
update tests
1 parent 40bf8ac commit a16175c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/io/parser/test_multi_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,5 @@ def test_multi_thread_path_multipart_read_csv(tmp_path, all_parsers):
155155
result = _generate_multi_thread_dataframe(parser, path, num_rows, num_tasks)
156156

157157
expected = df[:]
158-
expected["date"] = expected["date"].astype("M8[s]")
158+
expected["date"] = expected["date"].astype("M8[us]")
159159
tm.assert_frame_equal(result, expected)

pandas/tests/io/test_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def from_uri(path):
119119

120120
expected = df1[:]
121121
if format in ["csv", "excel"]:
122-
expected["dt"] = expected["dt"].dt.as_unit("s")
122+
expected["dt"] = expected["dt"].dt.as_unit("us")
123123

124124
tm.assert_frame_equal(df2, expected)
125125

0 commit comments

Comments
 (0)