We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d62bbc9 commit 4e00103Copy full SHA for 4e00103
1 file changed
sqlalchemy_mptt/tests/__init__.py
@@ -54,7 +54,6 @@
54
from .cases.move_node import MoveAfter, MoveBefore, MoveInside
55
56
BaseType = unittest.TestCase if typing.TYPE_CHECKING else object
57
-DeclarativeBase = compat_layer.declarative_base()
58
59
60
def failures_expected_on(*, sqlalchemy_versions=[], python_versions=[]):
@@ -78,7 +77,7 @@ def decorator(test_method):
78
77
79
80
class DatabaseSetupMixin(BaseType):
81
- base: DeclarativeBase # type: ignore
+ base: compat_layer.declarative_base() # type: ignore
82
83
def setUp(self):
84
with contextlib.suppress(AttributeError):
0 commit comments