Skip to content

test(ztrace): compare points one at a time for pytest 9.2 - #179

Merged
dustenhubbard merged 1 commit into
mainfrom
test/approx-pytest-9.2
Nov 2, 2026
Merged

dustenhubbard merged 1 commit into
mainfrom
test/approx-pytest-9.2

Conversation

@dustenhubbard

Copy link
Copy Markdown
Member

CI installs pytest>=9,<10, which now resolves to pytest 9.2.0 (released Oct 27). That release rejects pytest.approx() on a list of tuples, so five ztrace tests fail on every PR, for example #178.

This compares the points one at a time instead, with [pytest.approx(p) for p in expected]. The tolerance and the expected values do not change. tests/test_ztrace_and_log.py passes on pytest 9.1.0 and 9.2.0.

@dustenhubbard dustenhubbard added the reviewed A human authorized this merge (vcs-guard Gate 1 evidence) label Nov 2, 2026
@dustenhubbard
dustenhubbard merged commit 3fab1a1 into main Nov 2, 2026
6 checks passed
@dustenhubbard
dustenhubbard deleted the test/approx-pytest-9.2 branch November 2, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewed A human authorized this merge (vcs-guard Gate 1 evidence)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant