Clean up __future__ and coding: in tests

This commit is contained in:
Anthony Sottile
2019-06-02 15:40:34 -07:00
committed by Bruno Oliveira
parent a91fe1fedd
commit 4df529e5b9
15 changed files with 27 additions and 63 deletions

View File

@@ -1217,11 +1217,10 @@ def test_assert_indirect_tuple_no_warning(testdir):
def test_assert_with_unicode(monkeypatch, testdir):
testdir.makepyfile(
"""
# -*- coding: utf-8 -*-
"""\
def test_unicode():
assert u'유니코드' == u'Unicode'
"""
"""
)
result = testdir.runpytest()
result.stdout.fnmatch_lines(["*AssertionError*"])