Opened 8 years ago

Closed 5 years ago

#15119 closed Bug (fixed)

Doctest doctest failures in git.

Reported by: robertwb Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: Doctests Keywords:
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage -t --long src/sage/doctest/control.py File "src/sage/doctest/control.py", line 145, in sage.doctest.control.skipdir Failed example:

skipdir(os.path.join(SAGE_ROOT, "devel", "sagenb", "sagenb", "data"))

Expected:

True

Got:

False

File "src/sage/doctest/control.py", line 431, in sage.doctest.control.DocTestController?.add_files Failed example:

DC.add_files()

Exception raised:

Traceback (most recent call last):

File "/Users/robertwb/sage/sage-git/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 479, in _run

self.execute(example, compiled, test.globs)

File "/Users/robertwb/sage/sage-git/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 838, in execute

exec compiled in globs

File "<doctest sage.doctest.control.DocTestController?.add_files[10]>", line 1, in <module>

DC.add_files()

File "/Users/robertwb/sage/sage-git/local/lib/python2.7/site-packages/sage/doctest/control.py", line 455, in add_files

from sage.misc.hg import hg_sage

ImportError?: No module named hg

2 items had failures:

1 of 16 in sage.doctest.control.DocTestController?.add_files 1 of 4 in sage.doctest.control.skipdir

[162 tests, 2 failures, 2.48 s]

Change History (6)

comment:1 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:2 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:3 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:4 Changed 5 years ago by jdemeyer

  • Milestone changed from sage-6.4 to sage-duplicate/invalid/wontfix
  • Reviewers set to Jeroen Demeyer
  • Status changed from new to needs_review

comment:5 Changed 5 years ago by jdemeyer

  • Status changed from needs_review to positive_review

comment:6 Changed 5 years ago by vbraun

  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.