Skip to content

Commit

Permalink
Settle on "utf8" instead of "utf-8"
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Apr 12, 2018
1 parent deff41c commit 0b8b124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_black.py
Expand Up @@ -150,7 +150,7 @@ def test_expression_ff(self) -> None:
tmp_file = Path(black.dump_to_file(source))
try:
self.assertTrue(ff(tmp_file, write_back=black.WriteBack.YES))
with open(tmp_file, encoding="utf-8") as f:
with open(tmp_file, encoding="utf8") as f:
actual = f.read()
finally:
os.unlink(tmp_file)
Expand Down

0 comments on commit 0b8b124

Please sign in to comment.