We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 656b6e1 commit 31f5367Copy full SHA for 31f5367
tests/graph/rewriting/test_basic.py
@@ -1,5 +1,3 @@
1
-import sys
2
-
3
import pytest
4
5
from pytensor.configdefaults import config
@@ -837,15 +835,4 @@ def perform(self, *args):
837
835
def test_deprecations():
838
836
"""Make sure we can import deprecated classes from current and deprecated modules."""
839
with pytest.deprecated_call():
840
- from pytensor.graph.rewriting.basic import GlobalOptimizer
841
842
- with pytest.deprecated_call():
843
- from pytensor.graph.opt import ( # noqa: F401 F811
844
- GlobalOptimizer,
845
- LocalOptimizer,
846
- )
847
848
- del sys.modules["pytensor.graph.opt"]
849
850
851
- from pytensor.graph.opt import GraphRewriter # noqa: F401
+ pass
0 commit comments