Skip to content

Commit

Permalink
Merge pull request #37 from sot/np-deprecation-warning
Browse files Browse the repository at this point in the history
Ignore deprecation warning that comes from external packages
  • Loading branch information
javierggt authored Jan 27, 2022
2 parents 27e136d + f15adb6 commit 8eba475
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion testr/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@
'-Wignore:parse functions are required to provide a named:PendingDeprecationWarning',

# Shows up in sparkles from importing bleach
'-Wignore:Using or importing the ABCs:DeprecationWarning')
'-Wignore:Using or importing the ABCs:DeprecationWarning',

# Shows up in several places from importing PyTables
'-Wignore:`np.object` is a deprecated alias for the builtin `object`',

# This warning comes about when running with the latest version MarksupSafe (>=2.0) but an old version of Jinja2<3.0.
"-Wignore: 'soft_unicode' has been renamed to 'soft_str'",

# annie/telem.py:18
# (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
"-Wignore: Creating an ndarray from ragged nested sequences",
)


class TestError(Exception):
Expand Down

0 comments on commit 8eba475

Please sign in to comment.