summaryrefslogtreecommitdiff
path: root/testing/test_nose.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-06-02 15:40:34 -0700
committerBruno Oliveira <bruno@esss.com.br>2019-06-03 12:08:02 -0300
commit4df529e5b9e36b32fbe715386200729788478b6c (patch)
tree60f573772ab163489328bc0a81a31cbffe32b511 /testing/test_nose.py
parenta91fe1feddbded535a4322ab854429e3a3961fb4 (diff)
downloadpytest-4df529e5b9e36b32fbe715386200729788478b6c.tar.gz
Clean up __future__ and coding: in tests
Diffstat (limited to 'testing/test_nose.py')
-rw-r--r--testing/test_nose.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/test_nose.py b/testing/test_nose.py
index b726c9682..8a3ce6454 100644
--- a/testing/test_nose.py
+++ b/testing/test_nose.py
@@ -366,13 +366,12 @@ def test_nottest_class_decorator(testdir):
def test_skip_test_with_unicode(testdir):
testdir.makepyfile(
- """
- # -*- coding: utf-8 -*-
+ """\
import unittest
class TestClass():
def test_io(self):
raise unittest.SkipTest(u'😊')
- """
+ """
)
result = testdir.runpytest()
result.stdout.fnmatch_lines(["* 1 skipped *"])