From 7837081ebaa3052dcda133bfc2a2ed1278779c08 Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 11 Nov 2020 17:38:06 +1030 Subject: [PATCH] Fix running tests with Python 3.9 --- tests/endpoints/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/endpoints/base.py b/tests/endpoints/base.py index 37dc1881..9c84dff5 100644 --- a/tests/endpoints/base.py +++ b/tests/endpoints/base.py @@ -83,7 +83,7 @@ class Query: if response.content is not None: if response.headers.get("content-type") == "application/json": try: - response.json = response.json(encoding="utf-8") + response.json = response.json() except ValueError: response.json = None # else: