Commit 6e4aca00 authored by Damien George's avatar Damien George

leon: Add Spacebel test for array equality, 1604.

parent f202df6d
True
False
NotImplementedError
from array import array
b1 = array('b', [0, 1])
b2 = array('b', [0, 1])
b3 = array('b', [1, 2])
f1 = array('f', [0, 1])
print(b1 == b2)
print(b1 == b3)
try:
print(b1 == f1)
except NotImplementedError:
print('NotImplementedError')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment