fix assertion when hypothesis is installed (which is should be for developing in pytest)

This commit is contained in:
Anthony Shaw 2018-03-23 16:24:15 +11:00
parent 242fb7852b
commit e97bd87ee2
No known key found for this signature in database
GPG Key ID: AB4A19AE1CE85744
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ class TestDebuggingBreakpoints(object):
""") """)
result = testdir.runpytest_inprocess("", p1) result = testdir.runpytest_inprocess("", p1)
result.stdout.fnmatch_lines([ result.stdout.fnmatch_lines([
"*1 passed*", "* passed*",
]) ])
assert sys.breakpointhook != pytestPDB.set_trace assert sys.breakpointhook != pytestPDB.set_trace