Skip to content

Commit 0f5be78

Browse files
committed
Disable sqla 1.4 warnings for now
1 parent e43ad57 commit 0f5be78

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test(session, sqlalchemy):
107107
session.install(f"sqlalchemy~={sqlalchemy}.0")
108108
session.install("-e", ".")
109109
pytest_args = session.posargs or ["--pyargs", "sqlalchemy_mptt"]
110-
session.run("pytest", *pytest_args)
110+
session.run("pytest", *pytest_args, env={"SQLALCHEMY_SILENCE_UBER_WARNING": "1"})
111111

112112

113113
@nox.session(default=False)

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ exclude = '''
1616
'''
1717

1818
[tool.pytest.ini_options]
19-
filterwarnings = "error:::sqlalchemy_mptt"
19+
filterwarnings = [
20+
"error:::sqlalchemy_mptt"
21+
]
2022
addopts = "--cov sqlalchemy_mptt --cov-report term-missing:skip-covered"

0 commit comments

Comments
 (0)