Skip to content

Remove tautological tests and clean up CHANGELOG history (11.17.1) - #755

Merged
iskandr merged 1 commit into
mainfrom
chore/test-and-changelog-cleanup
Nov 20, 2026
Merged

iskandr merged 1 commit into
mainfrom
chore/test-and-changelog-cleanup

Conversation

@iskandr

@iskandr iskandr commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #479
Closes #411

1. Remove tests that can't fail (#479)

  • Remove @runtime_checkable Protocol isinstance() checks in tests/test_annotators.py, tests/test_rna_evidence.py, tests/test_read_phase_resolver.py, and tests/test_rna_read_phasing_source.py (keeping the real behavioral resolver integration assertions).
  • Remove class-declaration restatement tests (test_sv_is_a_variant_subclass in tests/test_structural_variants.py and test_non_splice_effects_are_not_multi_outcome in tests/test_splice_outcomes.py) and the redundant hasattr(ctx, "_index_cache") check in tests/test_germline_context.py.
  • Replace test_vcf_resolver_has_same_phase_api_as_read_resolver (a hasattr survey) in tests/test_vcf_phase_resolver.py with a behavioral parity test checking VCFPhaseResolver and ReadPhaseResolver on the same cis, trans, unphased, and homozygous-alt variants.

2. Clean up CHANGELOG.md (#411)

  • Split v5.0.0–v5.0.6 and v2.3.1–v4.24.1 out of the v6.0.0 section, add a brief gap note for v0.6.0–v1.3.2, and fold the unpublished v6.0.2 fix into v7.0.0.
  • Condense the verbose v6.0.0 entries and remove all 11 broken tree/<tag> links pointing at non-existent Git tags (v2.0.0–v2.3.0, v6.0.2, v7.1.0–v7.3.0).

Version

  • Bump varcode to 11.17.1.

- Delete runtime_checkable Protocol isinstance() checks, class-declaration
  subclass/issubclass restatements, and the redundant hasattr check across the
  test suite; replace the VCFPhaseResolver/ReadPhaseResolver attribute survey
  with a behavioral cis/trans/partners parity test (#479).
- Separate v2.3.1-v4.24.1 and v5.0.0-v5.0.6 from the v6.0.0 CHANGELOG block,
  fold unpublished v6.0.2 notes into v7.0.0, tighten verbose v6.0.0 sections,
  and remove broken tree/<tag> links for untagged releases (#411).
- Bump version to 11.17.1.

Closes #479
Closes #411
@iskandr
iskandr merged commit 7a4cc60 into main Nov 20, 2026
6 checks passed
@iskandr
iskandr deleted the chore/test-and-changelog-cleanup branch November 20, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant