Commit d2e8cb4
authored
chore: fix pytest crash on pandas 3.0 due to missing SettingWithCopyWarning (#2314)
Moved `ignore::pandas.errors.SettingWithCopyWarning` from `pytest.ini`
to `conftest.py` with a check for its existence. This fixes
`AttributeError: module 'pandas.errors' has no attribute
'SettingWithCopyWarning'` when running tests against pandas 3.0.
---
*PR created automatically by Jules for task
[1336882389279070030](https://jules.google.com/task/1336882389279070030)
started by @tswast*
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent dbb0339 commit d2e8cb4
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
0 commit comments