Skip to content

Commit ae73af6

Browse files
MNT: Options to catch more issues reported by pytest
Apply Repo-Review suggestions PP305, PP306, PP307, PP308.
1 parent 4e628f4 commit ae73af6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pytest.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ norecursedirs = doc tools numpy/linalg/lapack_lite numpy/_core/code_generators n
44
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS ALLOW_UNICODE ALLOW_BYTES
55
junit_family=xunit2
66

7+
addopts = ["-ra", "--strict-markers", "--strict-config"]
8+
xfail_strict = True
79
filterwarnings =
810
error
911
# Filter out annoying import messages.
@@ -29,4 +31,4 @@ filterwarnings =
2931
ignore:`numpy.typing.mypy_plugin` is deprecated:DeprecationWarning
3032
# Ignore DeprecationWarning from struct module
3133
# see https://github.com/numpy/numpy/issues/28926
32-
ignore:Due to \'_pack_\', the
34+
ignore:Due to \'_pack_\', the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy