From f507a3ef12ce6e100f68741f68d39bcaf8a70c7a Mon Sep 17 00:00:00 2001 From: Eduardo Rodrigues Date: Sat, 9 Feb 2019 11:56:06 +0100 Subject: [PATCH] add utf8 with bom to test --- .gitignore | 3 +++ tests/test_utils.py | 1 + 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index cd0c32e9..e127c60a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ requests.egg-info/ *.swp *.egg env/ +.venv/ +.eggs/ +.tox/ .workon diff --git a/tests/test_utils.py b/tests/test_utils.py index 59b0b0ef..ba0668f3 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -332,6 +332,7 @@ class TestGuessJSONUTF: @pytest.mark.parametrize( ('encoding', 'expected'), ( + ('utf-8-sig', 'utf-8'), ('utf-16-be', 'utf-16'), ('utf-16-le', 'utf-16'), ('utf-32-be', 'utf-32'),