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