diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-06-02 15:40:34 -0700 |
---|---|---|
committer | Bruno Oliveira <bruno@esss.com.br> | 2019-06-03 12:08:02 -0300 |
commit | 4df529e5b9e36b32fbe715386200729788478b6c (patch) | |
tree | 60f573772ab163489328bc0a81a31cbffe32b511 /testing/test_nose.py | |
parent | a91fe1feddbded535a4322ab854429e3a3961fb4 (diff) | |
download | pytest-4df529e5b9e36b32fbe715386200729788478b6c.tar.gz |
Clean up __future__ and coding: in tests
Diffstat (limited to 'testing/test_nose.py')
-rw-r--r-- | testing/test_nose.py | 5 |
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 *"]) |