Repository navigation
Compare an upgraded diagram's long run with its private call once upgraded - #515
Merged
Merged
Conversation
…raded The public long-run methods are asked of the diagram once upgraded (follows_upgrades); the test asked the private call of the diagram itself, which refuses, and failed for the two upgraded kinds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V339RzRHo8RS8Cz3uSbQgP
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
Three cases in
test_public_internals.pyfail ondev, with both surpyval 0.28 anddev: the action rates and the replacement cycle of the two upgraded kinds in the catalogue. A diagram with upgrades answers its long-run methods once upgraded (_long_run.follows_upgrades), but the test asked the private call of the diagram before the upgrade, which refuses. The test now asks the private call of the upgraded diagram, as the public method does. Test-only change; no library code changes.The full suite on the 0.20 release PR would have failed on these.
Tests
test_public_internals.py: 809 passed with surpyval 0.28 and with surpyvaldev(3 failed before).🤖 Generated with Claude Code
https://claude.ai/code/session_01V339RzRHo8RS8Cz3uSbQgP