diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-05-23 20:24:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 20:24:23 -0300 |
commit | 66f20b6f5efa69f36b7e7e43874b516eb9add7b3 (patch) | |
tree | 51dfb28cd6f2566308e629e6de4396364a1803a1 /testing/test_capture.py | |
parent | 364ae5d7233bc1a509f1b8cb72b764ac042794d5 (diff) | |
parent | b81173ea0c4462509430e361942118054090b443 (diff) | |
download | pytest-66f20b6f5efa69f36b7e7e43874b516eb9add7b3.tar.gz |
Fix invalid Python file encoding "utf8" (#5252)
Fix invalid Python file encoding "utf8"
Diffstat (limited to 'testing/test_capture.py')
-rw-r--r-- | testing/test_capture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_capture.py b/testing/test_capture.py index f1802cc16..01123bf5b 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 |