Skip to content

TST: Fix CI failures (don't xfail postgresql / don't xfail for pyarrow=16) #58693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 13, 2024

Conversation

Aloqeely
Copy link
Member

Using tm.assert_produces_warning for the first test gives:

AssertionError: Warning not set with correct stacklevel

It seems the stacklevel is set incorrectly and should be changed (see #55591), I just temporarily fixed it by using pytest.mark.filterwarnings

@Aloqeely Aloqeely changed the title TST: Fix test failures (don't xfail postgresql and filter deprecation warning) TST: Fix CI failures (don't xfail postgresql and filter deprecation warning) May 13, 2024
@Aloqeely Aloqeely changed the title TST: Fix CI failures (don't xfail postgresql and filter deprecation warning) TST: Fix CI failures (don't xfail postgresql / don't xfail for pyarrow=16) May 13, 2024
@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label May 13, 2024
@mroeschke mroeschke added this to the 2.2.3 milestone May 13, 2024
Co-authored-by: Matthew Roeschke <[email protected]>
@Aloqeely
Copy link
Member Author

pre-commit.ci autofix

@Aloqeely
Copy link
Member Author

xarray just released a new version which seems to be breaking some tests. I will take a look at it tomorrow if no one else fixes it.

@mroeschke mroeschke merged commit 425fa73 into pandas-dev:main May 13, 2024
44 of 47 checks passed
@mroeschke
Copy link
Member

Thanks @Aloqeely

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request May 13, 2024
mroeschke pushed a commit that referenced this pull request May 13, 2024
… postgresql / don't xfail for pyarrow=16)) (#58709)

Backport PR #58693: TST: Fix CI failures (don't xfail postgresql / don't xfail for pyarrow=16)

Co-authored-by: Abdulaziz Aloqeely <[email protected]>
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.

2 participants