Skip to content

Remove legacy test_changelog_encoding.py#360

Merged
MaxGhenis merged 1 commit intomainfrom
docs-towncrier-remove-legacy-test
Apr 17, 2026
Merged

Remove legacy test_changelog_encoding.py#360
MaxGhenis merged 1 commit intomainfrom
docs-towncrier-remove-legacy-test

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

policyengine_uk_data/tests/test_changelog_encoding.py validated UTF-8 and YAML structure of the deprecated changelog_entry.yaml. That file was retired when the repo migrated to towncrier changelog.d/ fragments; all three tests now unconditionally pytest.skip because the file no longer exists, and any fragment-format validation is already handled by the PR CI's Check changelog fragment step.

Also deletes one more on-tree mention of the old format so nobody (human or AI agent) rediscovers it from code search and assumes it's still current.

Part of a sweep across PolicyEngine repos (PolicyEngine/policyengine-uk#1629, PolicyEngine/policyengine-core#476, PolicyEngine/policyengine-us#8061).

Test plan

  • The removed file's three tests were all pytest.skip no-ops
  • CI passes

The test validated UTF-8 and YAML structure of the deprecated
`changelog_entry.yaml`. That file was retired when the repo migrated
to towncrier `changelog.d/` fragments; all three tests now
unconditionally `pytest.skip` because the file no longer exists, and
any fragment-format validation is already handled by the PR CI's
`Check changelog fragment` step.

Also deletes one more on-tree mention of the old format, so nobody
(human or AI agent) rediscovers it from code search and assumes it's
the current path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MaxGhenis MaxGhenis marked this pull request as ready for review April 17, 2026 23:04
@MaxGhenis MaxGhenis merged commit 46446f8 into main Apr 17, 2026
2 of 3 checks passed
@MaxGhenis MaxGhenis deleted the docs-towncrier-remove-legacy-test branch April 17, 2026 23:04
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