make test name shorter, so its testdir path isn't too long on windows

This commit is contained in:
Benjamin Peterson 2011-07-07 09:43:39 -05:00
parent fb043c355e
commit 6a523b4f59
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ def test_setup_fails_again_on_all_tests(testdir):
]) ])
assert "passed" not in result.stdout.str() assert "passed" not in result.stdout.str()
def test_setup_funcarg_setup_not_called_if_outer_scope_fails(testdir): def test_setup_funcarg_setup_when_outer_scope_fails(testdir):
p = testdir.makepyfile(""" p = testdir.makepyfile("""
import pytest import pytest
def setup_module(mod): def setup_module(mod):