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

View File

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