Skip to content

TST: migrate from pytz to zoneinfo + tzdata (where needed) #29064

@mattip

Description

@mattip

We use pytz in testing, notably in numpy/_core/tests/test_datetime.py and numpy/_core/tests/test_deprecations.py. Since Python3.9, the recommended way to access timezone information is to use the standard library zoneinfo, and install tzdata where needed (like windows). We should refactor our tests to use zoneinfo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sprintableIssue fits the time-frame and setting of a sprint

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions