Skip to content

Commit

Permalink
filter warnings for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkminder committed Nov 16, 2023
1 parent 3b254d5 commit bd9db96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/core/test_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit bd9db96

Please sign in to comment.