

def testSetLiteral(self):
    s = {1, 2, 3, 1, 2, 3, 1, 2, 3}
    self.assertEqual(s, set([1, 2, 3]))
    s = {1, 2, None, True, False, 2, 2, ('a',)}
    self.assertEqual(s, set([False, True, 1, 2, ('a',), None]))

dataset/ETHPy150Open pyjs/pyjs/examples/libtest/Syntax27Test.py Syntax27Test.testSetLiteral/original