Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.74 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.74 KB

python-json-patch

PyPI version Supported Python versions Build Status Coverage Status

Applying JSON Patches in Python

Library to apply JSON Patches according to RFC 6902

See source code for examples

Running external tests

To run external tests (such as those from https://github.com/json-patch/json-patch-tests) use ext_tests.py

./ext_tests.py ../json-patch-tests/tests.json

Running property-based tests

Property-based tests using Hypothesis are in property_tests.py. Properties that the implementation does not satisfy yet are marked as expected failures.

pip install hypothesis
python property_tests.py

Set HYPOTHESIS_PROFILE=thorough to run many more examples.