Skip to content

Commit 73156f7

Browse files
committed
improve unit test
1 parent 4812857 commit 73156f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5256,7 +5256,7 @@ def test_query_pico_timestamp_insert_error(self):
52565256
http = object()
52575257
client = self._make_one(project=self.PROJECT, credentials=creds, _http=http)
52585258

5259-
with pytest.raises(ValueError):
5259+
with pytest.raises(ValueError, match="Picosecond Timestamp is only"):
52605260
client.query(
52615261
query,
52625262
location="EU",

0 commit comments

Comments
 (0)