Example #1
0
 def test_fromstring(self):
     "Test the fromstring function."
     x = MA.fromstring("\001\002\003", 'b')
     assert x.typecode() == 'b'
     assert eq (x, [1,2,3])