tests/extmod/uctypes_error: Add test for unsupported unary op.

pull/4335/head
Damien George 2018-12-10 14:29:41 +11:00
rodzic 0de6815ec1
commit 074597f172
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -35,3 +35,9 @@ try:
S.x = 1
except TypeError:
print('TypeError')
# unsupported unary op
try:
hash(S)
except TypeError:
print('TypeError')

Wyświetl plik

@ -2,3 +2,4 @@ TypeError
TypeError
TypeError
TypeError
TypeError