tests/extmod/uctypes_error: Add test for unsupported unary op.
This commit is contained in:
parent
0de6815ec1
commit
074597f172
|
@ -35,3 +35,9 @@ try:
|
|||
S.x = 1
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
|
||||
# unsupported unary op
|
||||
try:
|
||||
hash(S)
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
|
|
|
@ -2,3 +2,4 @@ TypeError
|
|||
TypeError
|
||||
TypeError
|
||||
TypeError
|
||||
TypeError
|
||||
|
|
Loading…
Reference in New Issue