Skip to content

Instantly share code, notes, and snippets.

@kmaehashi
Created January 10, 2018 02:33
Show Gist options
  • Save kmaehashi/4a92c63be8d88ff555e1230cd5f3a853 to your computer and use it in GitHub Desktop.
Save kmaehashi/4a92c63be8d88ff555e1230cd5f3a853 to your computer and use it in GitHub Desktop.
=================================== FAILURES ===================================
___________________ TestEinSumError.test_irregular_ellipsis4 ___________________
cupy/testing/helper.py:490: in test_func
accept_error=accept_error)
cupy/testing/helper.py:51: in _check_cupy_numpy_error
self.fail('Only cupy raises error\n\n' + cupy_tb)
E AssertionError: Only cupy raises error
E
E Traceback (most recent call last):
E File "/home/kenichi/Development/cupy/cupy/testing/helper.py", line 469, in test_func
E impl(self, *args, **kw)
E File "/home/kenichi/Development/cupy/tests/cupy_tests/linalg_tests/test_einsum.py", line 24, in test_irregular_ellipsis4
E xp.einsum('...->', xp.zeros((2, 2, 2)))
E File "/home/kenichi/Development/cupy/cupy/linalg/einsum.py", line 332, in einsum
E raise ValueError('output had too few broadcast dimensions')
E ValueError: output had too few broadcast dimensions
__________________________ TestNorm_param_2.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: -2
E shape: (1,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
__________________________ TestNorm_param_3.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: -2
E shape: (2,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
__________________________ TestNorm_param_4.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: -1
E shape: (1,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
__________________________ TestNorm_param_5.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: -1
E shape: (2,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_12.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: 3
E shape: (1,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_13.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: 3
E shape: (2,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_34.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: None
E keepdims: True
E ord: -2
E shape: (1,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_35.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: None
E keepdims: True
E ord: -2
E shape: (2,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_36.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: None
E keepdims: True
E ord: -1
E shape: (1,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_37.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: None
E keepdims: True
E ord: -1
E shape: (2,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_44.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: None
E keepdims: True
E ord: 3
E shape: (1,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_45.test_norm __________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: None
E keepdims: True
E ord: 3
E shape: (2,)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_105.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: -2
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_106.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: -1
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_110.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: True
E ord: 3
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_113.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: False
E ord: -2
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_114.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: False
E ord: -1
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_118.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 0
E keepdims: False
E ord: 3
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_121.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 1
E keepdims: True
E ord: -2
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_122.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 1
E keepdims: True
E ord: -1
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_126.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 1
E keepdims: True
E ord: 3
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_129.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 1
E keepdims: False
E ord: -2
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_130.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 1
E keepdims: False
E ord: -1
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_134.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 1
E keepdims: False
E ord: 3
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_137.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 2
E keepdims: True
E ord: -2
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_138.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 2
E keepdims: True
E ord: -1
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_142.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 2
E keepdims: True
E ord: 3
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_145.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 2
E keepdims: False
E ord: -2
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_146.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 2
E keepdims: False
E ord: -1
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
_________________________ TestNorm_param_150.test_norm _________________________
cupy/testing/parameterized.py:58: in wrap
six.raise_from(e_new.with_traceback(e.__traceback__), None)
cupy/testing/parameterized.py:43: in wrap
return method(*args, **kwargs)
cupy/testing/helper.py:513: in test_func
impl(self, *args, **kw)
cupy/testing/helper.py:134: in test_func
'cupy dtype is not equal to numpy dtype')
E AssertionError: Parameterized test failed.
E
E Base test method: TestNorm.test_norm
E Test parameters:
E axis: 2
E keepdims: False
E ord: 3
E shape: (2, 2, 2)
E
E AssertionError: dtype('float64') != dtype('float32') : cupy dtype is not equal to numpy dtype
----------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.float32'>
=============================== warnings summary ===============================
tests/cupy_tests/math_tests/test_sumprod.py::TestSumprod::test_sum_all2
/home/kenichi/.pyenv/versions/local-3.6.3/lib/python3.6/site-packages/numpy/core/_methods.py:32: RuntimeWarning: overflow encountered in reduce
return umr_sum(a, axis, dtype, out, keepdims)
tests/cupy_tests/math_tests/test_sumprod.py::TestSumprod::test_sum_all_transposed2
/home/kenichi/.pyenv/versions/local-3.6.3/lib/python3.6/site-packages/numpy/core/_methods.py:32: RuntimeWarning: overflow encountered in reduce
return umr_sum(a, axis, dtype, out, keepdims)
tests/cupy_tests/math_tests/test_sumprod.py::TestSumprod::test_sum_axes2
/home/kenichi/.pyenv/versions/local-3.6.3/lib/python3.6/site-packages/numpy/core/_methods.py:32: RuntimeWarning: overflow encountered in reduce
return umr_sum(a, axis, dtype, out, keepdims)
tests/cupy_tests/math_tests/test_sumprod.py::TestSumprod::test_sum_axes4
/home/kenichi/.pyenv/versions/local-3.6.3/lib/python3.6/site-packages/numpy/core/_methods.py:32: RuntimeWarning: overflow encountered in reduce
return umr_sum(a, axis, dtype, out, keepdims)
tests/cupy_tests/math_tests/test_sumprod.py::TestSumprod::test_sum_axis_transposed2
/home/kenichi/.pyenv/versions/local-3.6.3/lib/python3.6/site-packages/numpy/core/_methods.py:32: RuntimeWarning: overflow encountered in reduce
return umr_sum(a, axis, dtype, out, keepdims)
-- Docs: http://doc.pytest.org/en/latest/warnings.html
============================== 6 tests deselected ==============================
31 failed, 5358 passed, 7 skipped, 6 deselected, 5 warnings in 433.34 seconds =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment