Skip to content

CI: is_timedelta64_ns_dtype failing for unitless np.timedelta64 2.1.x #56318

@lithomas1

Description

@lithomas1
_________________________ test_is_timedelta64_ns_dtype _________________________
[gw0] linux -- Python 3.9.15 /home/runner/micromamba/envs/test/bin/python3.9

    def test_is_timedelta64_ns_dtype():
        assert not com.is_timedelta64_ns_dtype(np.dtype("m8[ps]"))
>       assert not com.is_timedelta64_ns_dtype(np.array([1, 2], dtype=np.timedelta64))
E       AssertionError

pandas/tests/dtypes/test_common.py:[51](https://github.com/pandas-dev/pandas/actions/runs/7082249608/job/19272751944?pr=56313#step:8:53)4: AssertionError

This is on the min versions build.

Metadata

Metadata

Assignees

Labels

CIContinuous IntegrationUnreliable TestUnit tests that occasionally fail

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions