Skip to content

Commit 93a3526

Browse files
committed
fix lint & spotless issues in PR check
1 parent 5e8881d commit 93a3526

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_instrumentation_patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
3+
# pylint: disable=too-many-lines
34
import os
45
from importlib.metadata import PackageNotFoundError
56
from typing import Any, Dict
@@ -678,8 +679,7 @@ def _test_process_anthropic_claude_chunk(
678679
except TypeError:
679680
if expect_exception:
680681
return
681-
else:
682-
raise
682+
raise
683683

684684
# Verify the message content
685685
self.assertEqual(len(wrapper._message["content"]), 1)

0 commit comments

Comments
 (0)