add utf8 with bom to test

This commit is contained in:
Eduardo Rodrigues
2019-02-09 11:56:06 +01:00
parent c9309e4c59
commit f507a3ef12
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@@ -14,6 +14,9 @@ requests.egg-info/
*.swp *.swp
*.egg *.egg
env/ env/
.venv/
.eggs/
.tox/
.workon .workon

View File

@@ -332,6 +332,7 @@ class TestGuessJSONUTF:
@pytest.mark.parametrize( @pytest.mark.parametrize(
('encoding', 'expected'), ( ('encoding', 'expected'), (
('utf-8-sig', 'utf-8'),
('utf-16-be', 'utf-16'), ('utf-16-be', 'utf-16'),
('utf-16-le', 'utf-16'), ('utf-16-le', 'utf-16'),
('utf-32-be', 'utf-32'), ('utf-32-be', 'utf-32'),