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 8695dca commit 05319aeCopy full SHA for 05319ae
pandas/tests/frame/test_constructors.py
@@ -3197,6 +3197,7 @@ def test_from_out_of_bounds_ns_datetime(
3197
assert item.asm8.dtype == exp_dtype
3198
assert dtype == exp_dtype
3199
3200
+ @pytest.mark.known_ub
3201
def test_out_of_s_bounds_datetime64(self, constructor):
3202
scalar = np.datetime64(np.iinfo(np.int64).max, "D")
3203
result = constructor(scalar)
@@ -3232,6 +3233,7 @@ def test_from_out_of_bounds_ns_timedelta(
3232
3233
3234
3235
3236
3237
@pytest.mark.parametrize("cls", [np.datetime64, np.timedelta64])
3238
def test_out_of_s_bounds_timedelta64(self, constructor, cls):
3239
scalar = cls(np.iinfo(np.int64).max, "D")
0 commit comments