Skip to content

TST: uncaught warning in min/max localize #19767

Closed
@jreback

Description

@jreback

@jbrockmendel

=============================================================================================================================== warnings summary ================================================================================================================================
pandas/tests/scalar/timestamp/test_timezones.py::TestTimestampTZOperations::()::test_tz_localize_pushes_out_of_bounds
  /Users/jreback/pandas/pandas/tests/scalar/timestamp/test_timezones.py:32: RuntimeWarning: overflow encountered in long_scalars
    Timestamp.min.tz_localize('Asia/Tokyo')
  /Users/jreback/pandas/pandas/tests/scalar/timestamp/test_timezones.py:39: RuntimeWarning: overflow encountered in long_scalars
    Timestamp.max.tz_localize('US/Pacific')

-- Docs: http://doc.pytest.org/en/latest/warnings.html
==================================================================================================================== 435 passed, 2 warnings in 2.29 seconds =====================================================================================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatpandas objects compatability with Numpy or Python functionsTimezonesTimezone data dtype

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions