Skip to content

Commit

Permalink
Disable tests for disabled optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoegl committed Sep 3, 2017
1 parent 717b0db commit fbc904f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests.py
Expand Up @@ -416,9 +416,13 @@ def fn(_src, _dst):
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}}]
Expand Down

0 comments on commit fbc904f

Please sign in to comment.