Mercurial > pytave
diff test/test.py @ 73:077a44d23b54
Work-around the locale problem by running temporarily in C locale.
author | David Grundberg <individ@acc.umu.se> |
---|---|
date | Wed, 01 Jul 2009 14:37:29 +0200 |
parents | e3de0f6f1552 |
children | 4e7307dd52a2 |
line wrap: on
line diff
--- a/test/test.py Fri Jun 19 13:51:36 2009 +0200 +++ b/test/test.py Wed Jul 01 14:37:29 2009 +0200 @@ -187,7 +187,8 @@ testequal(["mystringåäöÅÄÖ"]) testexpect(1,Numeric.array([[1]],Numeric.Int)) -testexpect(1L,Numeric.array([[1]],Numeric.Int64)) +if "Int64" in Numeric.__dict__: + testexpect(1L,Numeric.array([[1]],Numeric.Int64)) testexpect(1.0,Numeric.array([[1]],Numeric.Float)) # Vector arrays