Skip to content

Instantly share code, notes, and snippets.

@kmaehashi
Created January 10, 2018 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmaehashi/7ceefcfb98c6ea1f75550d2c61f871cc to your computer and use it in GitHub Desktop.
Save kmaehashi/7ceefcfb98c6ea1f75550d2c61f871cc to your computer and use it in GitHub Desktop.
sphinx-build -b doctest -d build/doctrees source build/doctest
Running Sphinx v1.6.5
Initializing Spelling Checker
loading pickled environment... done
[autosummary] generating autosummary for: compatibility.rst, contribution.rst, index.rst, install.rst, license.rst, overview.rst, reference/binary.rst, reference/creation.rst, reference/cuda.rst, reference/difference.rst, ..., reference/random.rst, reference/routines.rst, reference/sorting.rst, reference/sparse.rst, reference/statistics.rst, reference/testing.rst, reference/ufunc.rst, tutorial/basic.rst, tutorial/index.rst, tutorial/kernel.rst
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 351 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...
Document: reference/difference
------------------------------
**********************************************************************
File "reference/difference.rst", line ?, in default
Failed example:
a_cpu
Expected:
array([ 9998., 9999.])
Got:
array([9998., 9999.])
**********************************************************************
1 items had failures:
1 of 21 in default
21 tests in 1 items.
20 passed and 1 failed.
***Test Failed*** 1 failures.
Document: reference/generated/cupy.scatter_add
----------------------------------------------
**********************************************************************
File "reference/generated/cupy.scatter_add.rst", line 33, in default
Failed example:
a
Expected:
array([ 1., 2., 0., 0., 0., 0.], dtype=float32)
Got:
array([1., 2., 0., 0., 0., 0.], dtype=float32)
**********************************************************************
1 items had failures:
1 of 7 in default
7 tests in 1 items.
6 passed and 1 failed.
***Test Failed*** 1 failures.
Document: reference/generated/cupy.testing.for_all_dtypes
---------------------------------------------------------
1 items passed all tests:
6 tests in default
6 tests in 1 items.
6 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.c_
-------------------------------------
1 items passed all tests:
3 tests in default
3 tests in 1 items.
3 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.prof.time_range
--------------------------------------------------
1 items passed all tests:
2 tests in default
2 tests in 1 items.
2 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.testing.numpy_cupy_allclose
--------------------------------------------------------------
1 items passed all tests:
3 tests in default
3 tests in 1 items.
3 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.get_array_module
---------------------------------------------------
1 items passed all tests:
1 tests in default
1 tests in 1 items.
1 passed and 0 failed.
Test passed.
Document: tutorial/basic
------------------------
1 items passed all tests:
25 tests in default
25 tests in 1 items.
25 passed and 0 failed.
Test passed.
Document: tutorial/kernel
-------------------------
**********************************************************************
File "tutorial/kernel.rst", line 39, in default
Failed example:
squared_diff(x, y)
Expected:
array([[ 0., 0., 0., 0., 0.],
[ 25., 25., 25., 25., 25.]], dtype=float32)
Got:
array([[ 0., 0., 0., 0., 0.],
[25., 25., 25., 25., 25.]], dtype=float32)
**********************************************************************
File "tutorial/kernel.rst", line 42, in default
Failed example:
squared_diff(x, 5)
Expected:
array([[ 25., 16., 9., 4., 1.],
[ 0., 1., 4., 9., 16.]], dtype=float32)
Got:
array([[25., 16., 9., 4., 1.],
[ 0., 1., 4., 9., 16.]], dtype=float32)
**********************************************************************
File "tutorial/kernel.rst", line 51, in default
Failed example:
squared_diff(x, y, z)
Expected:
array([[ 0., 0., 0., 0., 0.],
[ 25., 25., 25., 25., 25.]], dtype=float32)
Got:
array([[ 0., 0., 0., 0., 0.],
[25., 25., 25., 25., 25.]], dtype=float32)
**********************************************************************
File "tutorial/kernel.rst", line 162, in default
Failed example:
l2norm_kernel(x, axis=1)
Expected:
array([ 5.47722578, 15.96871948], dtype=float32)
Got:
array([ 5.477226 , 15.9687195], dtype=float32)
**********************************************************************
1 items had failures:
4 of 14 in default
14 tests in 1 items.
10 passed and 4 failed.
***Test Failed*** 4 failures.
Document: reference/generated/cupy.r_
-------------------------------------
1 items passed all tests:
3 tests in default
3 tests in 1 items.
3 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.cuda.profile
-----------------------------------------------
1 items passed all tests:
1 tests in default
1 tests in 1 items.
1 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.prof.TimeRangeDecorator
----------------------------------------------------------
1 items passed all tests:
2 tests in default
2 tests in 1 items.
2 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.fill_diagonal
------------------------------------------------
1 items passed all tests:
3 tests in default
3 tests in 1 items.
3 passed and 0 failed.
Test passed.
Document: reference/generated/cupy.ix_
--------------------------------------
1 items passed all tests:
4 tests in default
4 tests in 1 items.
4 passed and 0 failed.
Test passed.
Doctest summary
===============
95 tests
6 failures in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems.
Makefile:176: recipe for target 'doctest' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment