Normalize all source encoding declarations

This commit is contained in:
Bruno Oliveira
2019-05-14 19:42:44 -03:00
parent 18024467ff
commit 7573747cda
21 changed files with 34 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# coding: utf-8
import os
import sys
import textwrap
@@ -119,7 +119,7 @@ class TestModule(object):
"""
testdir.makepyfile(
u"""
# -*- coding: utf-8 -*-
# coding: utf-8
raise ImportError(u'Something bad happened ☺')
"""
)
@@ -1244,7 +1244,7 @@ def test_syntax_error_with_non_ascii_chars(testdir):
"""
testdir.makepyfile(
u"""
# -*- coding: UTF-8 -*-
# coding: utf-8
"""

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# coding: utf-8
import sys
import textwrap

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# coding: utf-8
import re
import sys
import textwrap

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# coding: utf-8
def test_no_items_should_not_show_output(testdir):