Skip to content

Comments

[Backport 2.13-maintenance] Fix #7655#7666

Merged
roberth merged 2 commits into2.13-maintenancefrom
backport-7657-to-2.13-maintenance
Jan 23, 2023
Merged

[Backport 2.13-maintenance] Fix #7655#7666
roberth merged 2 commits into2.13-maintenancefrom
backport-7657-to-2.13-maintenance

Conversation

@github-actions
Copy link

Bot-based backport to 2.13-maintenance, triggered by a label in #7657.

The original `builtins.getContext` test from
1d75729 would have caught this. The
problem is that b30be6b adding
`builtins.appendContext` modified that test to make it test too much at
once, rather than adding a separate test.

We now have isolated tests for both functions, and also a property test
showing everything put together (in the form of an eta rule for strings
with context). This is better coverage and properly reproduces the bug.

(cherry picked from commit 88d8f6a)
We had some local variables left over from the older (more
complicated) implementation of this function. They should all be unused,
but one wasn't by mistake.

Delete them all, and replace the one that was still in use as intended.

(cherry picked from commit 0afdf40)
@github-actions github-actions bot mentioned this pull request Jan 23, 2023
7 tasks
@roberth roberth closed this Jan 23, 2023
@roberth roberth reopened this Jan 23, 2023
@roberth roberth merged commit 2c552c6 into 2.13-maintenance Jan 23, 2023
@edolstra edolstra deleted the backport-7657-to-2.13-maintenance branch March 29, 2024 15:20
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.

2 participants