From bd9db969b0c9c7ec2fcef645ad4a53e57eea428b Mon Sep 17 00:00:00 2001 From: Julian Minder Date: Thu, 16 Nov 2023 19:37:56 +0100 Subject: [PATCH] filter warnings for tests --- tests/unit/core/test_matcher.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/core/test_matcher.py b/tests/unit/core/test_matcher.py index 318e416..80dd933 100644 --- a/tests/unit/core/test_matcher.py +++ b/tests/unit/core/test_matcher.py @@ -45,6 +45,10 @@ def __setitem__(self, key: str, value: str) -> None: @pytest.fixture def session(): + # This will be raised by neo4j due to how the session is yielded + # You can ignore this as it is correctly closed + warnings.filterwarnings("ignore", category=DeprecationWarning) + # Check if custom port try: port = os.environ["NEO4J PORT"]