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_pluginmanager.py | |
parent | a91fe1feddbded535a4322ab854429e3a3961fb4 (diff) | |
download | pytest-4df529e5b9e36b32fbe715386200729788478b6c.tar.gz |
Clean up __future__ and coding: in tests
Diffstat (limited to 'testing/test_pluginmanager.py')
-rw-r--r-- | testing/test_pluginmanager.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/test_pluginmanager.py b/testing/test_pluginmanager.py index 4e476fc01..8afb37fa1 100644 --- a/testing/test_pluginmanager.py +++ b/testing/test_pluginmanager.py @@ -149,12 +149,11 @@ def test_importplugin_error_message(testdir, pytestpm): """ testdir.syspathinsert(testdir.tmpdir) testdir.makepyfile( - qwe=""" - # -*- coding: utf-8 -*- + qwe="""\ def test_traceback(): - raise ImportError(u'Not possible to import: ☺') + raise ImportError('Not possible to import: ☺') test_traceback() - """ + """ ) with pytest.raises(ImportError) as excinfo: pytestpm.import_plugin("qwe") |