Skip to content

faster pytest#1206

Merged
rpm4 merged 19 commits into
masterfrom
faster-pytest
Sep 11, 2025
Merged

faster pytest#1206
rpm4 merged 19 commits into
masterfrom
faster-pytest

Conversation

@ddkohler

@ddkohler ddkohler commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

pytest runs hundreds of tests, but handful of them take a disproportionately long time--this PR targets those methods, finding easy time saves that still preserves the purpose of the test (in most cases).

pytest time decreased by >50% through these changes.

Changes

  • some from_COLORS tests are skipped due to long runtime
  • reduce use of COLORS datasets in tests (time-consuming imports)
  • chop, ichop, tests work with smaller datasets
  • only test docs build on python 3.11, which is what we now use to build docs

Checklist

  • updated CHANGELOG.md
  • tests pass

@ddkohler ddkohler changed the title [wip] faster pytest [WIP] faster pytest Sep 10, 2025
@ddkohler ddkohler marked this pull request as ready for review September 11, 2025 03:03
@ddkohler ddkohler changed the title [WIP] faster pytest faster pytest Sep 11, 2025
@rpm4 rpm4 merged commit 650b425 into master Sep 11, 2025
7 checks passed
@rpm4 rpm4 deleted the faster-pytest branch September 11, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants