diff --git a/test/test_geo.py b/test/test_geo.py index b5776a3..443b653 100644 --- a/test/test_geo.py +++ b/test/test_geo.py @@ -203,7 +203,7 @@ def test_blocks(self, mock_utfgrid): """Parse locally stored grid and compare to expected results""" # load mock utfgrid from file - with open(_sample_utfgrid_file) as f: + with open(_sample_utfgrid_file, encoding="utf8") as f: mock_utfgrid.return_value = json.load(f) # load expected caches from file