Skip to content

Commit 7f0208b

Browse files
smasuelandrito
authored andcommitted
BigQuery _EnumProperty ValueError messages are not displayed properly (googleapis#3520)
1 parent c1f9f4f commit 7f0208b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bigquery/google/cloud/bigquery/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def _validate(self, value):
318318
:raises: ValueError if value is not allowed.
319319
"""
320320
if value not in self.ALLOWED:
321-
raise ValueError('Pass one of: %s' ', '.join(self.ALLOWED))
321+
raise ValueError('Pass one of: %s' % ', '.join(self.ALLOWED))
322322

323323

324324
class UDFResource(object):

0 commit comments

Comments
 (0)