Skip to content

Commit

Permalink
test change
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Aug 16, 2023
1 parent 6d8b70f commit be079c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions python/cudf/cudf/tests/test_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,10 @@ def test_daterange_pandas_compatibility():
with cudf.option_context("mode.pandas_compatible", True):
with pytest.raises(NotImplementedError):
cudf.date_range("20010101", "20020215", freq="400h", name="times")
expected = pd.date_range("20010101", "20020215", freq="400h", name="times")
expected.freq = None
actual = cudf.date_range("20010101", "20020215", freq="400h", name="times")
expected = pd.date_range(
"2010-01-01", "2010-02-01", periods=10, name="times"
)
actual = cudf.date_range(
"2010-01-01", "2010-02-01", periods=10, name="times"
)
assert_eq(expected, actual)

0 comments on commit be079c5

Please sign in to comment.