diff options
author | Anthony Sottile <asottile@umich.edu> | 2018-08-22 18:30:42 -0700 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2018-08-22 18:47:21 -0700 |
commit | 8bb8b913570f215a9bff505799418ef9034609ec (patch) | |
tree | 64c038010eda5574f4b3f2eb85b3fa1ad8a89d6f /testing/test_helpconfig.py | |
parent | 17eec5b97e7efe256e76b733c26048fb2d29c599 (diff) | |
download | pytest-8bb8b913570f215a9bff505799418ef9034609ec.tar.gz |
pyupgrade 1.4: tests
Diffstat (limited to 'testing/test_helpconfig.py')
-rw-r--r-- | testing/test_helpconfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py index b5424235b..ceea56ccc 100644 --- a/testing/test_helpconfig.py +++ b/testing/test_helpconfig.py @@ -7,7 +7,9 @@ def test_version(testdir, pytestconfig): result = testdir.runpytest("--version") assert result.ret == 0 # p = py.path.local(py.__file__).dirpath() - result.stderr.fnmatch_lines(["*pytest*%s*imported from*" % (pytest.__version__,)]) + result.stderr.fnmatch_lines( + ["*pytest*{}*imported from*".format(pytest.__version__)] + ) if pytestconfig.pluginmanager.list_plugin_distinfo(): result.stderr.fnmatch_lines(["*setuptools registered plugins:", "*at*"]) |