summaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
authorStefan Kögl <stefan@skoegl.net>2017-09-10 16:07:14 +0200
committerStefan Kögl <stefan@skoegl.net>2017-09-10 19:24:48 +0200
commit2f45e50b8a3139e56e359d6b8d56227c5680ca8f (patch)
treed9234bf4e0cdaa2d0263a0d15d0dcb9926d21724 /tests.py
parent82ac77987808633c625c738ade5f7abc6e6a0764 (diff)
downloadpython-json-patch-2f45e50b8a3139e56e359d6b8d56227c5680ca8f.tar.gz
Re-enable previously disabled optimization tests
Diffstat (limited to 'tests.py')
-rwxr-xr-xtests.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests.py b/tests.py
index 39f3a85..7931fec 100755
--- a/tests.py
+++ b/tests.py
@@ -425,12 +425,8 @@ class OptimizationTests(unittest.TestCase):
fn({'foo': [1, 2, 3]}, {'foo': [3, 1, 2]})
fn([1, 2, 3], [3, 1, 2])
-
- # 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])
+ 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}}]