2017-02-15 10:11:16 -05:00
|
|
|
# test errors from bad operations (unary, binary, etc)
|
|
|
|
try:
|
|
|
|
memoryview
|
|
|
|
except:
|
|
|
|
print("SKIP")
|
2017-06-10 13:03:01 -04:00
|
|
|
raise SystemExit
|
2017-02-15 10:11:16 -05:00
|
|
|
|
|
|
|
# unsupported binary operators
|
2018-02-14 00:50:20 -05:00
|
|
|
try:
|
|
|
|
m = memoryview(bytearray())
|
|
|
|
m += bytearray()
|
|
|
|
except TypeError:
|
|
|
|
print('TypeError')
|