Skip to content

Conversation

@mroeschke
Copy link
Member

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Warnings Warnings that appear or should be added to pandas labels Jun 6, 2022
@mroeschke mroeschke added this to the 1.5 milestone Jun 6, 2022
@jbrockmendel
Copy link
Member

Beat me to it. The only one in my branch worth porting is in tests/frame/test_constructors.py

-        df.iloc[:, 2] = pd.array([45, 46], dtype=c.dtype)
+        with tm.assert_produces_warning(FutureWarning, match="will attempt to set"):
+            df.iloc[:, 2] = pd.array([45, 46], dtype=c.dtype)
         assert df.dtypes.iloc[2] == c.dtype

@mroeschke
Copy link
Member Author

Failure will be fixed by #47259

@jreback jreback merged commit ed7467c into pandas-dev:main Jun 8, 2022
@jreback
Copy link
Contributor

jreback commented Jun 8, 2022

cool

@mroeschke mroeschke deleted the tests/warnings branch June 8, 2022 23:54
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
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 Warnings Warnings that appear or should be added to pandas

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants