Skip to content

Commit bd91c6e

Browse files
committed
Fix linting for exception match
1 parent a415cb3 commit bd91c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/sdk/test_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def mock_init(*args, **kwargs): # noqa: ANN002, ANN003
5555

5656
monkeypatch.setattr(Repo, "init", mock_init)
5757

58-
with pytest.raises(ValueError, match="Failed to initialize or open a repository."):
58+
with pytest.raises(ValueError, match=r"Failed to initialize or open a repository\."):
5959
GitRepoManager(temp_dir)
6060

6161

0 commit comments

Comments
 (0)