From 7feab7391d2e4e53829f29fe898e3169b5a5b3e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Wed, 6 Dec 2017 15:22:45 +0100 Subject: [PATCH] simplify test_pdb_collection_failure_is_shown test data setup code --- testing/test_pdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index 70a5c3c5b..a565cbd0d 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -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*",