Skip to content

Commit

Permalink
Undo config file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Mar 27, 2024
1 parent 7740e8b commit a623a07
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
29 changes: 2 additions & 27 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,13 @@ markers = [
"no_bad_cuml_array_check: Test that should not check for bad CumlArray uses",
]

testpaths = [
"cuml/tests",
"cuml/tests/dask",
"cuml/tests/experimental",
"cuml/tests/explainer",
"cuml/tests/stemmer_tests",
"cuml/tests",
]
testpaths = "cuml/tests"

filterwarnings = [
"error::FutureWarning",
"error::DeprecationWarning",
"error::FutureWarning:cuml[.*]", # Catch uses of deprecated positional args in testing
"error:::cudf",
"ignore:[^.]*ABCs[^.]*:DeprecationWarning:patsy[.*]",
"ignore:(.*)alias(.*):DeprecationWarning:hdbscan[.*]",
# https://github.com/pytest-dev/pytest-cov/issues/557
"ignore:The --rsyncdir command line argument:DeprecationWarning",
# https://github.com/scikit-learn/scikit-learn/pull/25157
"ignore:.* is deprecated. Use files:DeprecationWarning",
# https://github.com/scikit-learn/scikit-learn/pull/25741
"ignore:`product` is deprecated as of NumPy 1.25.0:DeprecationWarning",
# https://github.com/scikit-learn-contrib/hdbscan/pull/612
"ignore:`alltrue` is deprecated as of NumPy 1.25.0:DeprecationWarning",
# https://github.com/scikit-learn/scikit-learn/pull/26287
"ignore:is_sparse is deprecated and will be removed:DeprecationWarning",
# From dask-glm
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
"ignore:`rcond` parameter will change to the default:FutureWarning",
"ignore:Dask configuration key 'fuse_ave_width':FutureWarning",
# From hdbscan
"ignore:Conversion of an array with ndim > 0:DeprecationWarning",
]

[project]
Expand Down
20 changes: 20 additions & 0 deletions python/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[pytest]
markers =
unit: Quickest tests focused on accuracy and correctness
quality: More intense tests than unit with increased runtimes
stress: Longest running tests focused on stressing hardware compute resources
mg: Multi-GPU tests
memleak: Test that checks for memory leaks
no_bad_cuml_array_check: Test that should not check for bad CumlArray uses

testpaths =
cuml/tests
cuml/tests/dask
cuml/tests/experimental
cuml/tests/explainer
cuml/tests/stemmer_tests

filterwarnings =
error::FutureWarning:cuml[.*] # Catch uses of deprecated positional args in testing
ignore:[^.]*ABCs[^.]*:DeprecationWarning:patsy[.*]
ignore:(.*)alias(.*):DeprecationWarning:hdbscan[.*]

0 comments on commit a623a07

Please sign in to comment.