Skip to content
Snippets Groups Projects
Commit 27f738cc authored by leufen1's avatar leufen1
Browse files

set ordering is not fixed, cause an error

parent dbe95dfd
Branches
Tags
3 merge requests!226Develop,!225Resolve "release v1.2.0",!217set ordering is not fixed, cause an error
Pipeline #55569 passed
...@@ -22,7 +22,8 @@ class TestToList: ...@@ -22,7 +22,8 @@ class TestToList:
assert to_list('abcd') == ['abcd'] assert to_list('abcd') == ['abcd']
assert to_list([1, 2, 3]) == [1, 2, 3] assert to_list([1, 2, 3]) == [1, 2, 3]
assert to_list([45]) == [45] assert to_list([45]) == [45]
assert to_list({34, 2, "test"}) == [34, 2, "test"] s = {34, 2, "test"}
assert to_list(s) == list(s)
assert to_list((34, 2, "test")) == [34, 2, "test"] assert to_list((34, 2, "test")) == [34, 2, "test"]
assert to_list(("test")) == ["test"] assert to_list(("test")) == ["test"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment