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 e43ad57 commit 0f5be78Copy full SHA for 0f5be78
noxfile.py
@@ -107,7 +107,7 @@ def test(session, sqlalchemy):
107
session.install(f"sqlalchemy~={sqlalchemy}.0")
108
session.install("-e", ".")
109
pytest_args = session.posargs or ["--pyargs", "sqlalchemy_mptt"]
110
- session.run("pytest", *pytest_args)
+ session.run("pytest", *pytest_args, env={"SQLALCHEMY_SILENCE_UBER_WARNING": "1"})
111
112
113
@nox.session(default=False)
pyproject.toml
@@ -16,5 +16,7 @@ exclude = '''
16
'''
17
18
[tool.pytest.ini_options]
19
-filterwarnings = "error:::sqlalchemy_mptt"
+filterwarnings = [
20
+ "error:::sqlalchemy_mptt"
21
+]
22
addopts = "--cov sqlalchemy_mptt --cov-report term-missing:skip-covered"
0 commit comments