-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI/TST: Enable -W error:::pandas in pyproject.toml #51312
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
Changes from all commits
568c258
294d937
e1700cf
acfd1f5
4ed4a11
7d8173b
b926b39
628bd01
485c95d
5e54f1d
27360c1
3e6877e
76c360f
b3ce610
1d5faae
705f230
c167b01
f9c4e55
f345e9a
a2a56d9
acf3d3d
963625d
e528472
149b5e6
166264e
f9e9ed3
4c677c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -397,11 +397,14 @@ doctest_optionflags = [ | |
"ELLIPSIS", | ||
] | ||
filterwarnings = [ | ||
"error:::pandas", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what does this one mean? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If any unhanded warning with any message or warning class originates from the path Any subsequent filter in this list takes prescient over this one if they overlap. |
||
"error::ResourceWarning", | ||
"error::pytest.PytestUnraisableExceptionWarning", | ||
"ignore:.*ssl.SSLSocket:pytest.PytestUnraisableExceptionWarning", | ||
"ignore:unclosed <ssl.SSLSocket:ResourceWarning", | ||
"ignore:.*ssl.SSLSocket:ResourceWarning", | ||
"ignore::ResourceWarning:asyncio", | ||
# From plotting doctests | ||
"ignore:More than 20 figures have been opened:RuntimeWarning", | ||
# Will be fixed in numba 0.56: https://github.com/numba/numba/issues/7758 | ||
"ignore:`np.MachAr` is deprecated:DeprecationWarning:numba", | ||
"ignore:.*urllib3:DeprecationWarning:botocore", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed these examples because they trigger UserWarnings that the format could not be inferred. There is still an example of
parse_dates
at the bottom that I think fits the spirit of showing what the keyword does