From 1a6773692ebc183b68ebd0d08e3fbe2a46704764 Mon Sep 17 00:00:00 2001 From: Eliaazzz Date: Sat, 11 Apr 2026 17:50:51 +1000 Subject: [PATCH] fix: use canonical --tests flag in YAML main test (#37980) Update test_inline_test_specs to use --tests (plural) instead of --test (singular) to be consistent with documentation and the primary argparse flag name defined in main.py. --- sdks/python/apache_beam/yaml/main_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/yaml/main_test.py b/sdks/python/apache_beam/yaml/main_test.py index 43b8caa1853b..c0f2dc50e7cc 100644 --- a/sdks/python/apache_beam/yaml/main_test.py +++ b/sdks/python/apache_beam/yaml/main_test.py @@ -158,7 +158,7 @@ def test_jinja_datetime(self): fin.read().strip(), datetime.datetime.now().strftime("%Y-%m-%d")) def test_inline_test_specs(self): - main.run_tests(['--yaml_pipeline', TEST_PIPELINE, '--test'], exit=False) + main.run_tests(['--yaml_pipeline', TEST_PIPELINE, '--tests'], exit=False) def test_external_test_specs(self): with tempfile.TemporaryDirectory() as tmpdir: