Skip to content

test: skip NSS tests without optional dependency - #1312

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/nss-test-optional-dep-skip
Jun 8, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/nss-test-optional-dep-skip

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Skip NSS-specific unit tests when the optional nss / matching blackjax.ns stack is not installed. This keeps the default PyAutoFit test environment green while preserving pure checkpoint serialization coverage and the explicit unavailable-extra ImportError test.

API Changes

None — test-only changes.

Test Plan

  • python -m pytest test_autofit/non_linear/search/nest/nss/test_checkpoint.py test_autofit/non_linear/search/nest/nss/test_search.py -q
  • python -m pytest test_autofit/ -x
Full API Changes (for automation & release notes)

Removed

  • None.

Added

  • None.

Renamed

  • None.

Changed Signature

  • None.

Changed Behaviour

  • None.

Migration

  • None.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jun 8, 2026
@Jammy2211
Jammy2211 merged commit f8bf8e7 into main Jun 8, 2026
7 checks passed
@Jammy2211
Jammy2211 deleted the feature/nss-test-optional-dep-skip branch June 8, 2026 15:43
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
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