From 1d1ba5a84500d21bc881b6b1d37cff3570f0817d Mon Sep 17 00:00:00 2001 From: BPYap <32807097+BPYap@users.noreply.github.com> Date: Sat, 30 Jun 2018 14:47:16 +0800 Subject: [PATCH] Added test case for issue #857 --- tests/datatypes/test_set.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/datatypes/test_set.py b/tests/datatypes/test_set.py index 6dc6592b9f..de8d1e813c 100644 --- a/tests/datatypes/test_set.py +++ b/tests/datatypes/test_set.py @@ -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}