summaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
authorStefan Kögl <stefan@skoegl.net>2017-09-03 11:51:00 +0200
committerStefan Kögl <stefan@skoegl.net>2017-09-03 11:51:00 +0200
commitfbc904f93e8db3d6f082d7fdc638379ca8fec0ec (patch)
tree3a56a6185c6f9dced64b1b8f993850a0b35dfe34 /tests.py
parent717b0db91e479ce80251778e00905501f01c717a (diff)
downloadpython-json-patch-fbc904f93e8db3d6f082d7fdc638379ca8fec0ec.tar.gz
Disable tests for disabled optimizations
Diffstat (limited to 'tests.py')
-rwxr-xr-xtests.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests.py b/tests.py
index 9d850fd..6a8234f 100755
--- a/tests.py
+++ b/tests.py
@@ -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}}]