Skip to content

Commit

Permalink
for: fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdorneles committed Feb 6, 2017
1 parent 4c49736 commit 201fdb9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/structures/test_for.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,16 @@ def test_multiple_values(self):
print(x, y, z)
""")

@expectedFailure
def test_multiple_values_iterator(self):
self.assertCodeExecution("""
values = {
'a': 1,
'b': 2,
'c': 3,
}
for k, v in values.items():
for k, v in sorted(values.items()):
print(k, v)
print('And once again...')
for item in values.items():
for item in sorted(values.items()):
print(item[0], item[1])
""")

0 comments on commit 201fdb9

Please sign in to comment.