Skip to content

Commit

Permalink
CI: Filter distutils Version warnings from pytest output (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
rraymondgh committed Nov 4, 2022
1 parent 5130b5a commit 80ac94e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,14 @@ geopandas = [
"datasets/naturalearth_lowres/*",
"tests/data/*",
]

[tool.pytest.ini_options]
markers = [
"web: tests that need network connectivity"
]
xfail_strict = true

filterwarnings = [
"ignore:distutils Version classes are deprecated.*:DeprecationWarning:pandas.*",
"ignore:distutils Version classes are deprecated.*:DeprecationWarning:numpy.*"
]
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ versionfile_build = geopandas/_version.py
tag_prefix = v
parentdir_prefix = geopandas-

[tool:pytest]
markers =
web: tests that need network connectivity
xfail_strict = True

[flake8]
# Black enforces 88 characters line length
max_line_length = 88
Expand Down

0 comments on commit 80ac94e

Please sign in to comment.