simplify test_pdb_collection_failure_is_shown test data setup code

This commit is contained in:
Jurko Gospodnetić 2017-12-06 15:22:45 +01:00
parent f0bfe9de3d
commit 7feab7391d
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class TestPDB(object):
self.flush(child)
def test_pdb_collection_failure_is_shown(self, testdir):
p1 = testdir.makepyfile("""xxx """)
p1 = testdir.makepyfile("xxx")
result = testdir.runpytest_subprocess("--pdb", p1)
result.stdout.fnmatch_lines([
"*NameError*xxx*",