summaryrefslogtreecommitdiff
path: root/t/unit/test_exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 't/unit/test_exceptions.py')
-rw-r--r--t/unit/test_exceptions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/unit/test_exceptions.py b/t/unit/test_exceptions.py
index bba72a83..7e67fc6f 100644
--- a/t/unit/test_exceptions.py
+++ b/t/unit/test_exceptions.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
from unittest.mock import Mock
from kombu.exceptions import HttpError
@@ -5,5 +7,5 @@ from kombu.exceptions import HttpError
class test_HttpError:
- def test_str(self):
+ def test_str(self) -> None:
assert str(HttpError(200, 'msg', Mock(name='response')))