Skip to content

Conversation

@zhan7236
Copy link
Contributor

This PR adds a regression test for #62915.

The bug was that DatetimeIndex.union would fail with an AssertionError when one index ended at a DST (Daylight Saving Time) boundary and the other extended past it. This was fixed by commit 1bd1830 and this test ensures the fix is not regressed.

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Dec 1, 2025
@mroeschke mroeschke added this to the 3.0 milestone Dec 1, 2025
@mroeschke mroeschke merged commit 2b4561f into pandas-dev:main Dec 1, 2025
46 checks passed
@mroeschke
Copy link
Member

Thanks @zhan7236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: index.union fails at DST boundary

2 participants