Skip to content

Commit 5a9b992

Browse files
committed
unrelated: fix Nvidia lint
1 parent bf72426 commit 5a9b992

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integrations/nvidia/tests/test_nvidia_chat_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_init_default(self, monkeypatch):
120120

121121
def test_init_fail_wo_api_key(self, monkeypatch):
122122
monkeypatch.delenv("NVIDIA_API_KEY", raising=False)
123-
with pytest.raises(ValueError, match="None of the .* environment variables are set"):
123+
with pytest.raises(ValueError, match=r"None of the .* environment variables are set"):
124124
NvidiaChatGenerator()
125125

126126
def test_init_with_parameters(self):

0 commit comments

Comments
 (0)