Skip to content

Commit

Permalink
Fix tests configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Jan 28, 2025
1 parent 4a07c9f commit 1611630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
on_ci = bool(os.getenv('CI'))
is_pypy = platform.python_implementation() == 'PyPy'
max_examples = (
-(-settings.default.max_examples // 10)
-(-settings().max_examples // 10)
if is_pypy and on_ci
else settings.default.max_examples
else settings().max_examples
)
settings.register_profile(
'default',
Expand Down

0 comments on commit 1611630

Please sign in to comment.