You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/07/15 17:17:09 UTC

(beam) 01/01: Fix bad error assert

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/badError
in repository https://gitbox.apache.org/repos/asf/beam.git

commit c2ebc3b4307012a0f985db4e8e960b2d8786a3e6
Author: Danny McCormick <da...@google.com>
AuthorDate: Tue Jul 15 13:17:01 2025 -0400

    Fix bad error assert
---
 .../apache_beam/transforms/enrichment_handlers/bigquery_it_test.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/transforms/enrichment_handlers/bigquery_it_test.py b/sdks/python/apache_beam/transforms/enrichment_handlers/bigquery_it_test.py
index dbc96d15150..5db3ff41890 100644
--- a/sdks/python/apache_beam/transforms/enrichment_handlers/bigquery_it_test.py
+++ b/sdks/python/apache_beam/transforms/enrichment_handlers/bigquery_it_test.py
@@ -285,7 +285,7 @@ class TestBigQueryEnrichmentIT(BigQueryEnrichmentIT):
         column_names=['wrong_column'],
         condition_value_fn=condition_value_fn,
     )
-    with self.assertRaisesRegex(Exception, "BadRequest"):
+    with self.assertRaises(Exception):
       test_pipeline = beam.Pipeline()
       _ = (
           test_pipeline