Skip to content

Commit c0b79e2

Browse files
committed
lint error fix
1 parent 8f4e8cc commit c0b79e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contract-tests/tests/test/amazon/botocore/botocore_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151

5252
# pylint: disable=too-many-public-methods
53+
# pylint: disable=too-many-lines
5354
class BotocoreTest(ContractTestBase):
5455
_local_stack: LocalStackContainer
5556

@@ -938,7 +939,7 @@ def _assert_specific_attributes(
938939

939940
try:
940941
is_valid_regex = self._is_valid_regex(value)
941-
except (StopIteration, RuntimeError, KeyError):
942+
except (StopIteration, RuntimeError, KeyError) as e:
942943
is_valid_regex = False
943944

944945
if is_valid_regex:

0 commit comments

Comments
 (0)