We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d36edf commit 3b072e7Copy full SHA for 3b072e7
pandas/tests/tools/test_to_datetime.py
@@ -1739,8 +1739,8 @@ def test_unit_str(self, cache):
1739
# GH 57051
1740
# Test that strs aren't dropping precision to 32-bit accidentally.
1741
with tm.assert_produces_warning(FutureWarning):
1742
- res = pd.to_datetime(["1704660000"], unit="s", origin="unix")
1743
- expected = pd.to_datetime([1704660000], unit="s", origin="unix")
+ res = to_datetime(["1704660000"], unit="s", origin="unix")
+ expected = to_datetime([1704660000], unit="s", origin="unix")
1744
tm.assert_index_equal(res, expected)
1745
1746
def test_unit_array_mixed_nans(self, cache):
0 commit comments