Fix default value of 'enable_assertion_pass_hook'

This commit is contained in:
Bruno Oliveira
2019-06-26 17:54:24 -03:00
parent 6854ff2acc
commit eb90f3d1c8
2 changed files with 5 additions and 1 deletions

View File

@@ -1335,6 +1335,10 @@ class TestEarlyRewriteBailout:
class TestAssertionPass:
def test_option_default(self, testdir):
config = testdir.parseconfig()
assert config.getini("enable_assertion_pass_hook") is False
def test_hook_call(self, testdir):
testdir.makeconftest(
"""