[python-arrayfire] 199/250: Change tests to pass on windows

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.

commit 2ae92cb020db612ad7b93065df42fccffb427970
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Tue Dec 22 19:19:26 2015 -0500

    Change tests to pass on windows
    
    - long vs long long issue
---
 tests/simple/array_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/simple/array_test.py b/tests/simple/array_test.py
index 32c0420..3a65e80 100644
--- a/tests/simple/array_test.py
+++ b/tests/simple/array_test.py
@@ -35,7 +35,7 @@ def simple_array(verbose=False):
     print_func(a.is_complex(), a.is_real(), a.is_double(), a.is_single())
     print_func(a.is_real_floating(), a.is_floating(), a.is_integer(), a.is_bool())
 
-    a = af.Array(host.array('l', [7, 8, 9] * 3), (3,3))
+    a = af.Array(host.array('I', [7, 8, 9] * 3), (3,3))
     display_func(a)
     print_func(a.elements(), a.type(), a.dims(), a.numdims())
     print_func(a.is_empty(), a.is_scalar(), a.is_column(), a.is_row())

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git



More information about the debian-science-commits mailing list