diff --git a/.github/trigger_files/beam_PostCommit_Python.json b/.github/trigger_files/beam_PostCommit_Python.json index 1fa29a890c2f..4aa5f70b72ee 100644 --- a/.github/trigger_files/beam_PostCommit_Python.json +++ b/.github/trigger_files/beam_PostCommit_Python.json @@ -1,5 +1,5 @@ { "comment": "Modify this file in a trivial way to cause this test suite to run.", - "modification": 29 + "modification": 101 } diff --git a/sdks/python/scripts/run_pytest.sh b/sdks/python/scripts/run_pytest.sh index e4acad4840ff..20fad40b9a24 100755 --- a/sdks/python/scripts/run_pytest.sh +++ b/sdks/python/scripts/run_pytest.sh @@ -43,7 +43,7 @@ echo "pytest_args: $pytest_args" echo "posargs: $posargs" # Define the regex for extracting the -m argument value -marker_regex="-m\s+('[^']+'|\"[^\"]+\"|[^ ]+)" +marker_regex="-m\s+('[^']+'|\"[^\"]+\"|\([^)]+\)|[^ ]+)" # Initialize the user_marker variable. user_marker=""