Fix test_inference.py

8 jobs for master
Status Name Job ID Coverage
  Test
failed job_clang_amd64 #1116
amd64

01:46:22

failed job_clang_amd64_nosh #1120
amd64

01:27:09

failed job_clang_py2_amd64 #1118
amd64

00:06:49

failed job_gcc_386 #1113
i386

00:07:51

failed job_gcc_amd64 #1115
amd64

03:48:28

failed job_gcc_amd64_nosh #1119
amd64

04:04:45

failed job_gcc_py2_386 #1114
i386

00:07:34

failed job_gcc_py2_amd64 #1117
amd64

00:07:38

 
Name Stage Failure
failed
job_gcc_386 Test There is an unknown failure, please try again
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/gitlab-runner/builds/c098b1de/0/count0/graph-tool/src'
Makefile:585: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/gitlab-runner/builds/c098b1de/0/count0/graph-tool'
Makefile:472: recipe for target 'all' failed
make: *** [all] Error 2

ERROR: Build failed with: exit status 2
failed
job_gcc_py2_386 Test There is an unknown failure, please try again
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/gitlab-runner/builds/c098b1de/1/count0/graph-tool/src'
Makefile:585: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/gitlab-runner/builds/c098b1de/1/count0/graph-tool'
Makefile:472: recipe for target 'all' failed
make: *** [all] Error 2

ERROR: Build failed with: exit status 2
failed
job_gcc_amd64 Test There is an unknown failure, please try again
  warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")

ERROR: Build failed with: exit status 1
failed
job_clang_amd64 Test There is an unknown failure, please try again
53 tests in 1 items.
53 passed and 0 failed.
Test passed.

Document: inference
-------------------
-bash: line 50: 21644 Segmentation fault (core dumped) OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst

ERROR: Build failed with: exit status 1
failed
job_gcc_py2_amd64 Test There is an unknown failure, please try again
Running Sphinx v1.3.6
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Configuration error:
There is a syntax error in your configuration file: invalid syntax (blockmodel.py, line 743)

ERROR: Build failed with: exit status 1
failed
job_gcc_amd64_nosh Test There is an unknown failure, please try again
  warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")

ERROR: Build failed with: exit status 1
failed
job_clang_amd64_nosh Test There is an unknown failure, please try again
67 tests in 1 items.
67 passed and 0 failed.
Test passed.

Document: inference
-------------------
-bash: line 50: 61352 Segmentation fault (core dumped) OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst

ERROR: Build failed with: exit status 1
failed
job_clang_py2_amd64 Test There is an unknown failure, please try again
Running Sphinx v1.3.6
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Configuration error:
There is a syntax error in your configuration file: invalid syntax (blockmodel.py, line 743)

ERROR: Build failed with: exit status 1