diff options
author | Stefan Kögl <stefan@skoegl.net> | 2017-09-03 11:51:00 +0200 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2017-09-03 11:51:00 +0200 |
commit | fbc904f93e8db3d6f082d7fdc638379ca8fec0ec (patch) | |
tree | 3a56a6185c6f9dced64b1b8f993850a0b35dfe34 /tests.py | |
parent | 717b0db91e479ce80251778e00905501f01c717a (diff) | |
download | python-json-patch-fbc904f93e8db3d6f082d7fdc638379ca8fec0ec.tar.gz |
Disable tests for disabled optimizations
Diffstat (limited to 'tests.py')
-rwxr-xr-x | tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -416,9 +416,13 @@ class OptimizationTests(unittest.TestCase): self.assertEqual(res, _dst) fn({'foo': [1, 2, 3]}, {'foo': [3, 1, 2]}) - fn({'foo': [1, 2, 3]}, {'foo': [3, 2, 1]}) fn([1, 2, 3], [3, 1, 2]) - fn([1, 2, 3], [3, 2, 1]) + + # Optimizations for the following tests are currently not performed. + # The tests are disabled, as the missing optimizations do not + # invalidate the results + #fn({'foo': [1, 2, 3]}, {'foo': [3, 2, 1]}) + #fn([1, 2, 3], [3, 2, 1]) def test_success_if_replace_inside_dict(self): src = [{'a': 1, 'foo': {'b': 2, 'd': 5}}] |