Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def test_format_with_all_operators(expected: str, attribute: str, op: str, value

def test_error_no_comparison_operator() -> None:
"""Test error for missing comparison operator."""
with pytest.raises(InvalidQueryError, match="No comparison operator found in query: .+ Expected one of .*"):
with pytest.raises(InvalidQueryError, match=r"No comparison operator found in query: .+ Expected one of .*"):
SearchFilter.parse("(attributename)", optimize=False)


Expand Down
Loading