Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Fixed
- Fix malformed bullet points rendering in GitHub Pages documentation
- Make `STORE_DURATIONS_TEARDOWN_THRESHOLD` controllable through an environment variable.

## [0.11.0] - 2026-02-03
### Added
Expand Down
4 changes: 3 additions & 1 deletion src/pytest_split/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@


# Ugly hack for freezegun compatibility: https://github.com/spulec/freezegun/issues/286
STORE_DURATIONS_SETUP_AND_TEARDOWN_THRESHOLD = 60 * 10 # seconds
STORE_DURATIONS_SETUP_AND_TEARDOWN_THRESHOLD = float(
os.environ.get("PYTEST_SPLIT_SETUP_TEARDOWN_THRESHOLD", 60 * 10)
) # seconds


def pytest_addoption(parser: "Parser") -> None:
Expand Down