From b1d63d980e8b1a666e312e1c05c9037e2920685b Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 29 Jan 2021 18:10:32 -0500 Subject: [PATCH] Drop encoding parameter from json.load Apparently this is no longer an accepted keyword for json.load(), as of python 3.9. This was uncovered in https://bugs.debian.org/973175 where the google-i18n-address tests failed. But i haven't been able to find a reference for the change in python upstream. Perhaps the encoding parameter never did anything, but 3.9 became more strict about unhandled keywords. It looks like python's json module does bytestream encoding autodetection anyway so this should be safe to do: https://bugs.python.org/issue17909 --- tests/test_downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)