We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b8af1 commit 93a74feCopy full SHA for 93a74fe
.travis.yml
@@ -32,5 +32,5 @@ install:
32
script:
33
- python setup.py develop
34
- flake8 examples/ ot/ test/
35
- - python -m pytest -v test/ --cov=ot
+ - python -m pytest -v test/ ot/ --doctest-modules --cov=ot
36
# - py.test ot test
test/test_ot.py
@@ -14,16 +14,6 @@
14
import pytest
15
16
17
-def test_doctest():
18
- import doctest
19
-
20
- # test lp solver
21
- doctest.testmod(ot.lp, verbose=True)
22
23
- # test bregman solver
24
- doctest.testmod(ot.bregman, verbose=True)
25
26
27
def test_emd_emd2():
28
# test emd and emd2 for simple identity
29
n = 100
0 commit comments