Skip to content
Snippets Groups Projects
Commit a160b70c authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add test on set/frozenset equality.

parent 8b3b2d04
No related branches found
No related tags found
No related merge requests found
try:
frozenset
except NameError:
print("SKIP")
import sys
sys.exit()
# Examples from https://docs.python.org/3/library/stdtypes.html#set
# "Instances of set are compared to instances of frozenset based on their
# members. For example:"
print(set('abc') == frozenset('abc'))
# This doesn't work in uPy
#print(set('abc') in set([frozenset('abc')]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment