We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d1dae commit 3c37ef7Copy full SHA for 3c37ef7
contract-tests/tests/test/amazon/base/contract_test_base.py
@@ -239,7 +239,7 @@ def _assert_metric_attributes(
239
):
240
self.fail("Tests must implement this function")
241
242
- def _is_valid_regex(self, pattern: str):
+ def _is_valid_regex(self, pattern: str) -> bool:
243
try:
244
re.compile(pattern)
245
return True
0 commit comments