Skip to content

Commit

Permalink
Fix typo in setup.cfg warning configuration
Browse files Browse the repository at this point in the history
It appears that we were relying on the "errors" filter to treat
PendingDeprecationWarning as an error due to a typo in setup.cfg. This
line is apparently redundant with the "error" line anyway, but it's best
to have a working version of it if we're going to have it at all. I am
leaving it in place to be explicit that even these "ignored by default"
warnings should be errors, in case a default changes later.
  • Loading branch information
pganssle committed Oct 4, 2019
1 parent 6c7719b commit 8f506ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.d/966.misc.rst
@@ -0,0 +1,2 @@
Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly
specified as an error in the warnings filter.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -55,7 +55,7 @@ xfail_strict = true
filterwarnings =
error
error::DeprecationWarning
error:PendingDeprecationWarning
error::PendingDeprecationWarning
markers =
gettz
import_star
Expand Down

0 comments on commit 8f506ba

Please sign in to comment.