Skip to content

Commit

Permalink
Update to initial commit for issue #169
Browse files Browse the repository at this point in the history
Unicode error fixed; was missing a fixture declaration.
  • Loading branch information
mcmillanmajora committed Oct 1, 2018
1 parent ea039e1 commit 47a9146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def invalid3_file(tmpdir):
f.write(codecs.BOM_UTF8 + '; coding: latin-1')
return str(f)


@pytest.fixture
def test_detect_encoding(empty_file, nocomment_file, utf8_file, utf8var1_file,
utf8var2_file, shiftjis_file, eucjp_file, latin1_file, invalid1_file):
assert detect_encoding(empty_file) == 'utf-8'
Expand Down

0 comments on commit 47a9146

Please sign in to comment.