Skip to content
This repository was archived by the owner on Sep 4, 2022. It is now read-only.

Commit 0cc1c49

Browse files
committed
fix(aiohttp): after black
1 parent 165e609 commit 0cc1c49

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cisco_telescope/instrumentations/aiohttp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _decode_chunk(chunk):
192192
decoded_chunk = chunk.decode()
193193
except UnicodeDecodeError as e:
194194
decoded_chunk = str(chunk)
195-
logging.info(f'Could\'nt decode the chunk: {decoded_chunk}, {e}')
195+
logging.info(f"Could'nt decode the chunk: {decoded_chunk}, {e}")
196196

197197
return decoded_chunk
198198

tests/instrumentations/test_aiohttp.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ async def test_post_request_invalid_utf8(self):
7373
Configuration().payloads_enabled = True
7474
data_to_send = b'/">Miso\xdfNoContinuation'
7575
async with aiohttp.client.request(
76-
method="POST",
77-
url=self.http_url_sanity,
78-
headers=self.request_headers(),
79-
chunked=True,
80-
data=data_to_send,
76+
method="POST",
77+
url=self.http_url_sanity,
78+
headers=self.request_headers(),
79+
chunked=True,
80+
data=data_to_send,
8181
) as resp:
8282
self._assert_basic_attributes_and_headers(resp)
8383
spans = self.memory_exporter.get_finished_spans()

0 commit comments

Comments
 (0)