h2non / jsonpath-ng

Finally, a JSONPath implementation for Python that aims to be standard compliant. That's all. Enjoy!
Apache License 2.0
593 stars 86 forks source link

Fix lambda-based updates #149

Closed kurtmckee closed 10 months ago

kurtmckee commented 10 months ago

This PR supersedes PR #101.

I took the following steps based on @remirigal's work:

This exposed the need to perform deep copies of the parametrized test data, since the original test values were getting augmented and re-used between the "normal" and "ext" parsers, so it was necessary to add a line to deepcopy the test case values.