Skip to content

Commit 36d1aa7

Browse files
committed
fix skip condition
1 parent 3feed33 commit 36d1aa7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ async def run_scenario(self, spec, uri=None):
13711371
("PYTHON-3522", ".*csot.*"),
13721372
]
13731373
for reason, flaky_test in flaky_tests:
1374-
if re.match(flaky_test, self.id()) is not None:
1374+
if re.match(flaky_test.lower(), self.id().lower()) is not None:
13751375
func_name = self.id()
13761376
options = dict(reason=reason, reset_func=self.asyncSetUp, func_name=func_name)
13771377
if "csot" in func_name.lower():

test/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ def run_scenario(self, spec, uri=None):
13581358
("PYTHON-3522", ".*csot.*"),
13591359
]
13601360
for reason, flaky_test in flaky_tests:
1361-
if re.match(flaky_test, self.id()) is not None:
1361+
if re.match(flaky_test.lower(), self.id().lower()) is not None:
13621362
func_name = self.id()
13631363
options = dict(reason=reason, reset_func=self.setUp, func_name=func_name)
13641364
if "csot" in func_name.lower():

0 commit comments

Comments
 (0)