aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/container_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/container_test.py')
-rw-r--r--sources/pyside6/tests/pysidetest/container_test.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/sources/pyside6/tests/pysidetest/container_test.py b/sources/pyside6/tests/pysidetest/container_test.py
index 1b5a94f31..cbf57c7b0 100644
--- a/sources/pyside6/tests/pysidetest/container_test.py
+++ b/sources/pyside6/tests/pysidetest/container_test.py
@@ -77,14 +77,13 @@ class ContainerTestTest(unittest.TestCase):
self.assertEqual(l2, EXPECTED_LIST)
def testSet(self):
- # FIXME PYSIDE 7: A PySet should be returned from QSet (currently PyList)
- s1 = set(ContainerTest.createSet()); # Order is not predictable
- s2 = set(ContainerTest.passThroughSet(s1))
+ s1 = ContainerTest.createSet(); # Order is not predictable
+ s2 = ContainerTest.passThroughSet(s1)
self.assertEqual(sorted(list(s1)), sorted(list(s2)))
# Since lists are iterable, it should be possible to pass them to set API
l2 = ContainerTest.passThroughSet(EXPECTED_LIST)
- self.assertEqual(sorted(l2), EXPECTED_LIST)
+ self.assertEqual(sorted(list(l2)), EXPECTED_LIST)
if __name__ == '__main__':