From 18024467ffb7c1a6f95eddd31d6d6f18b763b84c Mon Sep 17 00:00:00 2001 From: Raul Tambre Date: Sun, 12 May 2019 19:14:06 +0300 Subject: [PATCH] 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. --- testing/test_capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_capture.py b/testing/test_capture.py index 5d80eb63d..0dc2c42d8 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -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