Skip to content

Commit

Permalink
Complete tests configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Apr 16, 2022
1 parent e5a0a1f commit e5e1fc2
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
@@ -1,11 +1,12 @@
import os
import platform
from datetime import timedelta

import pytest
from datetime import timedelta
from ground.base import (Context,
get_context)
from hypothesis import settings
from hypothesis import (HealthCheck,
settings)

is_pypy = platform.python_implementation() == 'PyPy'
on_ci = bool(os.getenv('CI', False))
Expand All @@ -16,7 +17,8 @@
deadline=(timedelta(hours=1) / max_examples
if on_ci
else None),
max_examples=max_examples)
max_examples=max_examples,
suppress_health_check=[HealthCheck.too_slow])


@pytest.hookimpl(trylast=True)
Expand Down

0 comments on commit e5e1fc2

Please sign in to comment.