Skip to content

Monkeypatch the DELTA_RATIO in tesseroid tests - #723

Merged
santisoler merged 2 commits into
mainfrom
tesseroid-monkeypatch-delta-ratio
Nov 18, 2026
Merged

santisoler merged 2 commits into
mainfrom
tesseroid-monkeypatch-delta-ratio

Conversation

@santisoler

Copy link
Copy Markdown
Member

Properly override the DELTA_RATIO global variable when testing tesseroids with variable density through a monkeypatch. This way we avoid overwriting the variable for all the remaining tests. The global variable gets reset to its original value after the tests is finished. Fix a few typos.

Have you used generative AI tools to develop this PR?

  • Yes (please explain below to what extent and how it was used).
  • No.

Properly override the `DELTA_RATIO` global variable when testing
tesseroids with variable density through a monkeypatch. This way we
avoid overwriting the variable for all the remaining tests. The global
variable gets reset to its original value after the tests is finished.
@santisoler
santisoler merged commit bdbfe6f into main Nov 18, 2026
11 checks passed
@santisoler
santisoler deleted the tesseroid-monkeypatch-delta-ratio branch November 18, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant