Skip to content

Commit

Permalink
add utf8 with bom to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Rodrigues committed Feb 9, 2019
1 parent c9309e4 commit f507a3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ requests.egg-info/
*.swp
*.egg
env/
.venv/
.eggs/
.tox/

.workon

Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def test_bad_utf_like_encoding(self):

@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'),
Expand Down

0 comments on commit f507a3e

Please sign in to comment.