Skip to content

fix: rename tests/test.py so pytest collects it - #151

Open
mikeswarren wants to merge 1 commit into
marceloprates:developfrom
mikeswarren:fix-pytest-collection
Open

mikeswarren wants to merge 1 commit into
marceloprates:developfrom
mikeswarren:fix-pytest-collection

Conversation

@mikeswarren

Copy link
Copy Markdown

tests/test.py defines 23 tests that pytest never collects. The default python_files patterns are test_*.py and *_test.py; test.py matches neither.

.github/workflows/test.yml runs a bare pytest tests, so CI reports green on 9 collected tests while 23 sit unrun — presets, plot() smoke tests, transforms, multiplot.

The tests themselves are fine; forcing pytest tests/test.py passes all 23. This is purely a collection-config issue, fixed by the rename.

Before: 9 passed. After: 32 passed. Verified on Python 3.12.13.

@mikeswarren
mikeswarren changed the base branch from main to develop August 7, 2026 05:15
@mikeswarren
mikeswarren force-pushed the fix-pytest-collection branch from bbab5b6 to aeee43a Compare August 7, 2026 05:18
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