Skip to content

Skip signature feature tests when esig is unavailable - #4

Merged
steveya merged 2 commits into
claude/add-claude-documentation-4HfdFfrom
copilot/sub-pr-2-again
Mar 20, 2026
Merged

steveya merged 2 commits into
claude/add-claude-documentation-4HfdFfrom
copilot/sub-pr-2-again

Conversation

Copilot AI commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

CI fails because test_signature_features.py has no guard against the missing esig package, which sktime's SignatureTransformer requires at runtime. All 13 tests in the module error out with ModuleNotFoundError.

Change

Added pytest.importorskip("esig") at module level in test_signature_features.py, consistent with the existing pytest.importorskip("alphaforge") pattern already present in the same file:

pytest.importorskip("alphaforge")
pytest.importorskip("esig")

This skips the entire module gracefully when esig is not in the environment rather than failing.


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: steveya <7390489+steveya@users.noreply.github.com>
Copilot AI changed the title [WIP] Add CLAUDE.md project documentation Skip signature feature tests when esig is unavailable Mar 20, 2026
Copilot AI requested a review from steveya March 20, 2026 03:42
@steveya
steveya marked this pull request as ready for review March 20, 2026 03:43
@steveya
steveya merged commit ef5bb71 into claude/add-claude-documentation-4HfdF Mar 20, 2026
@steveya
steveya deleted the copilot/sub-pr-2-again branch March 20, 2026 03:43
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.

2 participants