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 7e3acd9 commit a9682f8Copy full SHA for a9682f8
tests/conftest.py
@@ -60,6 +60,9 @@ def set_warnings() -> None:
60
61
warnings.filterwarnings("ignore", r".*no-sysmon")
62
63
+ # We have a test that has a return in a finally.
64
+ warnings.filterwarnings("ignore", "'return' in a 'finally' block", category=SyntaxWarning)
65
+
66
67
@pytest.fixture(autouse=True)
68
def reset_sys_path() -> Iterator[None]:
0 commit comments