summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authormbyt <random.seed@web.de>2016-08-31 22:33:47 +0200
committermbyt <random.seed@web.de>2016-08-31 22:33:47 +0200
commit696a9112beacdaf970d06809dcb0fd04e69325e9 (patch)
tree70d905fc7c9d4a32499e75b143d0db9d71e904ca /testing
parentbe08223d5a057a64cbfaf332ee1b934412479b24 (diff)
downloadpytest-696a9112beacdaf970d06809dcb0fd04e69325e9.tar.gz
integrating review commets of @nicoddemus
plus small scale refactoring
Diffstat (limited to 'testing')
-rw-r--r--testing/test_pdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_pdb.py b/testing/test_pdb.py
index a0fbc473e..d79d71262 100644
--- a/testing/test_pdb.py
+++ b/testing/test_pdb.py
@@ -86,7 +86,7 @@ class TestPDB:
def tearDown(self):
self.filename = None
def test_false(self):
- self.filename = 'bla' + '.txt'
+ self.filename = 'debug' + '.me'
assert 0
""")
child = testdir.spawn_pytest("--pdb %s" % p1)
@@ -94,7 +94,7 @@ class TestPDB:
child.sendline('p self.filename')
child.sendeof()
rest = child.read().decode("utf8")
- assert 'bla.txt' in rest
+ assert 'debug.me' in rest
if child.isalive():
child.wait()