Skip to content
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

Ignore deprecation warning that comes from external packages #37

Merged
merged 4 commits into from
Jan 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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