Skip to content

Commit

Permalink
fix settings modification
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 29, 2023
1 parent 83ab9ef commit 92b3817
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
############


# disable hypothesis deadline globally
hypothesis.settings.register_profile("ci", deadline=None)
hypothesis.settings.load_profile("ci")


def set_evm_verbose_logging():
logger = logging.getLogger("eth.vm.computation.Computation")
setup_DEBUG2_logging()
Expand All @@ -47,9 +52,6 @@ def pytest_addoption(parser):
parser.addoption("--enable-compiler-debug-mode", action="store_true")


hypothesis.settings.default.deadline = None


@pytest.fixture(scope="module")
def optimize(pytestconfig):
flag = pytestconfig.getoption("optimize")
Expand Down

0 comments on commit 92b3817

Please sign in to comment.