Skip to content

Commit 51213d7

Browse files
committed
chore: Fix more warnings
Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 817ef01 commit 51213d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cloudevents/tests/test_http_events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,10 @@ def test_cloudevent_repr(specversion):
398398
"ce-source": "<source-url>",
399399
}
400400
event = from_http(headers, "")
401-
# Testing to make sure event is printable. I could runevent. __repr__() but
401+
# Testing to make sure event is printable. I could run event. __repr__() but
402402
# we had issues in the past where event.__repr__() could run but
403403
# print(event) would fail.
404-
print(event)
404+
print(event) # noqa T201
405405

406406

407407
@pytest.mark.parametrize("specversion", ["1.0", "0.3"])

cloudevents/tests/test_pydantic_events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,10 @@ def test_cloudevent_repr(specversion):
383383
"ce-source": "<source-url>",
384384
}
385385
event = from_http(headers, "")
386-
# Testing to make sure event is printable. I could runevent. __repr__() but
386+
# Testing to make sure event is printable. I could run event. __repr__() but
387387
# we had issues in the past where event.__repr__() could run but
388388
# print(event) would fail.
389-
print(event)
389+
print(event) # noqa T201
390390

391391

392392
@pytest.mark.parametrize("specversion", ["1.0", "0.3"])

0 commit comments

Comments
 (0)