kopia lustrzana https://github.com/micropython/micropython
tests/extmod/uctypes_error: Add test for unsupported unary op.
rodzic
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
|
||||
|
|
Ładowanie…
Reference in New Issue