2015-08-28 15:41:50 -04:00
|
|
|
try:
|
|
|
|
frozenset
|
|
|
|
except NameError:
|
|
|
|
print("SKIP")
|
2017-06-10 13:03:01 -04:00
|
|
|
raise SystemExit
|
2015-08-28 15:41:50 -04:00
|
|
|
|
|
|
|
# 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')]))
|