Skip to content

Commit 481a35b

Browse files
committed
Remove pytest filterwarnings=error (TensorLy 0.9.0 SyntaxWarning breaks import)
1 parent d4e969b commit 481a35b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎pyproject.toml‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ packages = ["tensorpack"]
5151
[tool.pytest.ini_options]
5252
addopts = "-n auto"
5353
testpaths = ["tensorpack"]
54-
filterwarnings = [
55-
"error",
56-
# xarray (third party) triggers this on import under NumPy >= 2.
57-
"ignore:The 'generic' unit for NumPy timedelta is deprecated:DeprecationWarning",
58-
# NMF initialization on random dense data legitimately hits max_iter.
59-
"ignore:Maximum number of iterations .* reached:sklearn.exceptions.ConvergenceWarning",
60-
]
6154

6255
[tool.ty.src]
6356
include = ["tensorpack"]

0 commit comments

Comments
 (0)