diff options
author | Paul Ganssle <paul@ganssle.io> | 2019-10-04 09:39:42 -0400 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2019-10-04 09:52:28 -0400 |
commit | 8f506ba3aabf473fc7bcae7955c388593d4cd56a (patch) | |
tree | 2a88fcda04c26216159c18c86e6090b64c2a6c10 | |
parent | 6c7719b13664ff97480a5eef2a6509a632f3c27b (diff) | |
download | dateutil-git-8f506ba3aabf473fc7bcae7955c388593d4cd56a.tar.gz |
Fix typo in setup.cfg warning configuration
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.
-rw-r--r-- | changelog.d/966.misc.rst | 2 | ||||
-rw-r--r-- | setup.cfg | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/966.misc.rst b/changelog.d/966.misc.rst new file mode 100644 index 0000000..a614255 --- /dev/null +++ b/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. @@ -55,7 +55,7 @@ xfail_strict = true filterwarnings = error error::DeprecationWarning - error:PendingDeprecationWarning + error::PendingDeprecationWarning markers = gettz import_star |