We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 656b6e1 commit aef730aCopy full SHA for aef730a
tests/graph/rewriting/test_basic.py
@@ -1,5 +1,3 @@
1
-import sys
2
-
3
import pytest
4
5
from pytensor.configdefaults import config
@@ -832,20 +830,3 @@ def perform(self, *args):
832
830
local_rewriter_2,
833
831
local_rewriter_1,
834
]
835
836
837
-def test_deprecations():
838
- """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
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
0 commit comments