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.
13 lines
253 B
13 lines
253 B
# 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')
|
|
|