Skip to content

Commit 842afd0

Browse files
jbrockmendelyeshsurya
authored andcommitted
CI: suppress warnings (pandas-dev#41003)
1 parent 10bfb93 commit 842afd0

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

setup.cfg

+14-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pandas_plotting_backends =
4545
[options.extras_require]
4646
test =
4747
hypothesis>=3.58
48-
pytest>=6.0
48+
pytest>=5.0.1
4949
pytest-xdist
5050

5151
[options.package_data]
@@ -127,6 +127,19 @@ exclude =
127127
# https://github.com/pandas-dev/pandas/pull/38837#issuecomment-752884156
128128
doc/source/getting_started/comparison/includes/*.rst
129129

130+
[tool:pytest]
131+
# sync minversion with setup.cfg & install.rst
132+
minversion = 5.0.1
133+
testpaths = pandas
134+
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS
135+
addopts = --strict-data-files
136+
xfail_strict = True
137+
filterwarnings =
138+
error:Sparse:FutureWarning
139+
error:The SparseArray:FutureWarning
140+
ignore:unclosed transport <asyncio.sslproto:ResourceWarning
141+
junit_family = xunit2
142+
130143
[codespell]
131144
ignore-words-list = ba,blocs,coo,hist,nd,sav,ser
132145
ignore-regex = https://(\w+\.)+

0 commit comments

Comments
 (0)