show/test that _testrepr() reprs Numeric arrays nicely, too
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@491 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
82fdf153ac
commit
0ec07f2dbc
@ -279,8 +279,8 @@ def calcCubicPoints(a, b, c, d):
|
||||
|
||||
def _testrepr(obj):
|
||||
"""
|
||||
>>> _testrepr([1, [2, 3], [], [[2, [3, 4]]]])
|
||||
'(1, (2, 3), (), ((2, (3, 4))))'
|
||||
>>> _testrepr([1, [2, 3], [], [[2, [3, 4], Numeric.array([0.1, 2.2])]]])
|
||||
'(1, (2, 3), (), ((2, (3, 4), (0.1, 2.2))))'
|
||||
"""
|
||||
try:
|
||||
it = iter(obj)
|
||||
|
Loading…
x
Reference in New Issue
Block a user