Skip to content

Commit 6a4ff71

Browse files
authored
Fix bad error assert (#35596)
1 parent 8930c8d commit 6a4ff71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdks/python/apache_beam/transforms/enrichment_handlers/bigquery_it_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def test_bigquery_enrichment_bad_request(self):
285285
column_names=['wrong_column'],
286286
condition_value_fn=condition_value_fn,
287287
)
288-
with self.assertRaisesRegex(Exception, "BadRequest"):
288+
with self.assertRaises(Exception):
289289
test_pipeline = beam.Pipeline()
290290
_ = (
291291
test_pipeline

0 commit comments

Comments
 (0)