Skip to content

CI: Add CI check to exclude datetime/Timestamp.now in tests to prevent time dependent behaviors (e.g. DST change) #44341

Open
@johnzangwill

Description

@johnzangwill

Most CI test runs failed at 2021-11-07T02:05:19. when the clocks went back in the US

70 tests failed with pytz.AmbiguousTimeError at Timestamp.now().tz_localize(dti.tz) and pd.Series([fill_value], dtype=fill_dtype):

ambiguous_time_error_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous IntegrationDatetimeDatetime data dtypeRefactorInternal refactoring of codeTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions