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

doctest failure in sage/misc/sagedoc.py #6675

Closed
sagetrac-mvngu mannequin opened this issue Aug 5, 2009 · 3 comments
Closed

doctest failure in sage/misc/sagedoc.py #6675

sagetrac-mvngu mannequin opened this issue Aug 5, 2009 · 3 comments

Comments

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Aug 5, 2009

Built from scratch on

Linux cartan 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:53:35 UTC
2009 x86_64 GNU/Linux

(MacBook running 64-bit Ubuntu).

Running make test gave one failing doctest, which is repeatable:

[ghitza@cartan sage-4.1.1.rc1]$ ./sage -t devel/sage/sage/misc/sagedoc.py
sage -t  "devel/sage/sage/misc/sagedoc.py"
**********************************************************************
File "/opt/sage-4.1.1.rc1/devel/sage/sage/misc/sagedoc.py", line 360:
   sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology',
'variety', interact=False)
Expected:
   True
Got:
   False
**********************************************************************
1 items had failures:
  1 of   6 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file /opt/sage-4.1.1.rc1/tmp/.doctest_sagedoc.py
        [5.6 s]
exit code: 1024

----------------------------------------------------------------------
The following tests failed:


       sage -t  "devel/sage/sage/misc/sagedoc.py"
Total time for all tests: 5.6 seconds

This was reported in sage-devel.

Component: doctest coverage

Keywords: sagedoc.py

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

@sagetrac-mvngu sagetrac-mvngu mannequin added this to the sage-4.1.1 milestone Aug 5, 2009
@sagetrac-mvngu sagetrac-mvngu mannequin added t: tests labels Aug 5, 2009
@aghitza
Copy link

aghitza commented Aug 5, 2009

comment:1

The same problem occurs on

Linux artin 2.6.30-ARCH #1 SMP PREEMPT Fri Jul 31 18:10:38 UTC 2009 i686 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux

a Dell laptop running 32-bit Archlinux.

@sagetrac-mvngu sagetrac-mvngu mannequin changed the title doctest failure in sage/sage/misc/sagedoc.py doctest failure in sage/misc/sagedoc.py Aug 5, 2009
@jhpalmieri
Copy link
Member

comment:3

I believe that this is fixed by #6674. That is, the failure here is because the reference manual didn't build during the 'make' process, and it didn't build because of the issue discussed and solved at #6674. Since the reference manual didn't build, searching the docs produced no results, hence the doctest failure here. If someone can confirm this, I think we can close this ticket.

@sagetrac-mvngu
Copy link
Mannequin Author

sagetrac-mvngu mannequin commented Aug 12, 2009

comment:4

This has been fixed by #6674.

@sagetrac-mvngu sagetrac-mvngu mannequin closed this as completed Aug 12, 2009
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

2 participants