Skip to content

Commit

Permalink
Bug(stlsq): Re-enable UserWarning in testing and locally
Browse files Browse the repository at this point in the history
Fix # 414
  • Loading branch information
Jacob-Stevens-Haas committed Jan 31, 2024
1 parent 8341efb commit 97c5e9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Expand Up @@ -77,8 +77,7 @@ force-exclude = '''

[tool.pytest.ini_options]
filterwarnings = [
"ignore::RuntimeWarning",
"ignore::UserWarning",]
"ignore::RuntimeWarning",]
addopts = '-m "not slow and not notebooks"'
markers = ["slow", "notebooks"]

Expand Down
2 changes: 0 additions & 2 deletions pysindy/optimizers/sr3.py
Expand Up @@ -10,8 +10,6 @@
from ..utils import get_regularization
from .base import BaseOptimizer

warnings.filterwarnings("ignore", category=UserWarning)


class SR3(BaseOptimizer):
"""
Expand Down

0 comments on commit 97c5e9d

Please sign in to comment.