You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
253 B
14 lines
253 B
4 years ago
|
# test errors from bad operations (unary, binary, etc)
|
||
|
try:
|
||
|
memoryview
|
||
|
except:
|
||
|
print("SKIP")
|
||
|
raise SystemExit
|
||
|
|
||
|
# unsupported binary operators
|
||
|
try:
|
||
|
m = memoryview(bytearray())
|
||
|
m += bytearray()
|
||
|
except TypeError:
|
||
|
print('TypeError')
|