diff --git a/tests/test_utils.py b/tests/test_utils.py
index c575145..96e8f6c 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -11,9 +11,15 @@ def assertions(request, **kwargs):
 
 
 def assert_response(
-    response, json=None, reason=None, status_code=200, text=None, url=None, headers={}
+    response,
+    json=None,
+    reason=None,
+    status_code=200,
+    text=None,
+    url=None,
+    headers={},
 ):
-    assert type(response) == Response
+    assert isinstance(response, Response)
     assert response.status_code == status_code
     assert response.reason == reason
     assert response.url == url