Skip to content

Commit

Permalink
Added test case for issue beeware#857
Browse files Browse the repository at this point in the history
  • Loading branch information
BPYap committed Jun 30, 2018
1 parent af25bf7 commit 1d1ba5a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/datatypes/test_set.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
from unittest import expectedFailure

from .. utils import TranspileTestCase, UnaryOperationTestCase, BinaryOperationTestCase, InplaceOperationTestCase


class SetTests(TranspileTestCase):
@expectedFailure
def test_complex_element(self):
self.assertCodeExecution("""
x = {1j, 2j}
for i in x:
print(i)
""")

def test_setattr(self):
self.assertCodeExecution("""
x = {1, 2, 3}
Expand Down

0 comments on commit 1d1ba5a

Please sign in to comment.