Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 doctest failed in thematic_tutorials/linear_programming.rst #28863

Closed
seblabbe opened this issue Dec 10, 2019 · 8 comments
Closed

1 doctest failed in thematic_tutorials/linear_programming.rst #28863

seblabbe opened this issue Dec 10, 2019 · 8 comments

Comments

@seblabbe
Copy link
Contributor

With CPLEX installed, running

sage -t --long src/doc/en/thematic_tutorials/linear_programming.rst

gives

Using --optional=4ti2,build,cbc,ccache,cryptominisat,dochtml,dot2tex,e_antic,glucose,latte_int,lidia,lrslib,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,python2,rst2ipynb,sage,sagenb
Doctesting 1 file.
sage -t --long --warn-long 69.4 src/doc/en/thematic_tutorials/linear_programming.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/linear_programming.rst", line 287, in doc.en.thematic_tutorials.linear_programming
Failed example:
    taken["flashlight"]
Expected:
    1.0
Got:
    1
**********************************************************************
1 item had failures:
   1 of  49 in doc.en.thematic_tutorials.linear_programming
    [45 tests, 1 failure, 0.06 s]
----------------------------------------------------------------------
sage -t --long --warn-long 69.4 src/doc/en/thematic_tutorials/linear_programming.rst  # 1 doctest failed
----------------------------------------------------------------------

Component: linear programming

Author: Sébastien Labbé

Branch/Commit: b26588b

Reviewer: David Coudert

Issue created by migration from https://trac.sagemath.org/ticket/28863

@seblabbe
Copy link
Contributor Author

Author: Sébastien Labbé

@seblabbe
Copy link
Contributor Author

Commit: b26588b

@seblabbe

This comment has been minimized.

@seblabbe
Copy link
Contributor Author

New commits:

b26588b28863: adding tolerance to doctest result

@seblabbe
Copy link
Contributor Author

Branch: u/slabbe/28863

@dcoudert
Copy link
Contributor

comment:2

LGTM.

@dcoudert
Copy link
Contributor

Reviewer: David Coudert

@vbraun
Copy link
Member

vbraun commented Dec 11, 2019

Changed branch from u/slabbe/28863 to b26588b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants