Skip to content

Commit 72ecb47

Browse files
authored
sdks/python/scripts: capture (...) pytest marker group (#35740)
* scripts: capture `(...)` pytest marker group * workflows: trigger postcommit python * workflows: trigger postcommit python
1 parent f117e93 commit 72ecb47

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run.",
3-
"modification": 29
3+
"modification": 101
44
}
55

sdks/python/scripts/run_pytest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ echo "pytest_args: $pytest_args"
4343
echo "posargs: $posargs"
4444

4545
# Define the regex for extracting the -m argument value
46-
marker_regex="-m\s+('[^']+'|\"[^\"]+\"|[^ ]+)"
46+
marker_regex="-m\s+('[^']+'|\"[^\"]+\"|\([^)]+\)|[^ ]+)"
4747

4848
# Initialize the user_marker variable.
4949
user_marker=""

0 commit comments

Comments
 (0)