Fix invalid Python file encoding "utf8"

Since Python 3 it must be "utf-8", which is the official name.
This is backwards compatible with Python 2.
This commit is contained in:
Raul Tambre 2019-05-12 19:14:06 +03:00 committed by GitHub
parent 6a43c8cd94
commit 18024467ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def test_capturing_unicode(testdir, method):
obj = "u'\u00f6y'"
testdir.makepyfile(
"""
# coding=utf8
# coding=utf-8
# taken from issue 227 from nosetests
def test_unicode():
import sys