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

failing doctest with optional tag octave #30636

Closed
seblabbe opened this issue Sep 22, 2020 · 8 comments
Closed

failing doctest with optional tag octave #30636

seblabbe opened this issue Sep 22, 2020 · 8 comments

Comments

@seblabbe
Copy link
Contributor

sage -t --optional=sage,octave src/doc/en/constructions/interface_issues.rst

gives

sage -t --random-seed=0 src/doc/en/constructions/interface_issues.rst
**********************************************************************
File "src/doc/en/constructions/interface_issues.rst", line 432, in doc.en.constructions.interface_issues
Failed example:
    octave("atanh(1.1)")   ## optional - octave
Expected:
    (1.52226,-1.5708)
Got:
     (1.52226,1.5708)
**********************************************************************

This is using:

$ octave --version
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
GNU Octave, version 4.2.2
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

indeed:

octave:1> atanh(1.1)
ans =  1.5223 + 1.5708i

Component: documentation

Author: Frédéric Chapoton

Branch/Commit: 8365222

Reviewer: Sébastien Labbé

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

@seblabbe seblabbe added this to the sage-9.2 milestone Sep 22, 2020
@seblabbe

This comment has been minimized.

@seblabbe

This comment has been minimized.

@fchapoton
Copy link
Contributor

Commit: 8365222

@fchapoton
Copy link
Contributor

comment:3

Voilà, voilà.


New commits:

8365222trac 30636 fix octave doctest

@fchapoton
Copy link
Contributor

Branch: u/chapoton/30636

@fchapoton
Copy link
Contributor

Author: Frédéric Chapoton

@seblabbe
Copy link
Contributor Author

Reviewer: Sébastien Labbé

@vbraun
Copy link
Member

vbraun commented Oct 31, 2020

Changed branch from u/chapoton/30636 to 8365222

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