changeset 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 (diff) e9834fd34416 (current diff)
children 6517417e75b2
files test/test.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/test.py	Wed Jul 01 14:21:47 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