Repository navigation
Remove tautological tests and clean up CHANGELOG history (11.17.1) - #755
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #479
Closes #411
1. Remove tests that can't fail (#479)
@runtime_checkableProtocolisinstance()checks intests/test_annotators.py,tests/test_rna_evidence.py,tests/test_read_phase_resolver.py, andtests/test_rna_read_phasing_source.py(keeping the real behavioral resolver integration assertions).test_sv_is_a_variant_subclassintests/test_structural_variants.pyandtest_non_splice_effects_are_not_multi_outcomeintests/test_splice_outcomes.py) and the redundanthasattr(ctx, "_index_cache")check intests/test_germline_context.py.test_vcf_resolver_has_same_phase_api_as_read_resolver(ahasattrsurvey) intests/test_vcf_phase_resolver.pywith a behavioral parity test checkingVCFPhaseResolverandReadPhaseResolveron the same cis, trans, unphased, and homozygous-alt variants.2. Clean up
CHANGELOG.md(#411)v5.0.0–v5.0.6andv2.3.1–v4.24.1out of thev6.0.0section, add a brief gap note forv0.6.0–v1.3.2, and fold the unpublishedv6.0.2fix intov7.0.0.v6.0.0entries and remove all 11 brokentree/<tag>links pointing at non-existent Git tags (v2.0.0–v2.3.0,v6.0.2,v7.1.0–v7.3.0).Version
varcodeto11.17.1.