#14374: recover from doctest timings cache corruption
-----------------------+----------------------------------------------------
Reporter: vbraun | Owner: mvngu
Type: defect | Status: new
Priority: major | Milestone: sage-5.9
Component: doctest | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------+----------------------------------------------------
Caches can be corrupted as you doctest stuff, you never know when things
die. The new doctest framework does not recover gracefully:
{{{
[vbraun@volker-desktop hg]$ echo foobar > ~/.sage/timings_dt_test.json
[vbraun@volker-desktop hg]$ sage -tp sage/doctest/
Running doctests with ID 2013-03-28-12-29-46-c1280e16.
Doctesting 9 files using 10 threads.
sage -t sage/doctest/reporting.py
**********************************************************************
File "sage/doctest/reporting.py", line 103, in
sage.doctest.reporting.DocTestReporter.__init__
Failed example:
DC = DocTestController(DocTestDefaults(),[filename])
Expected nothing
Got:
Error loading stats from /home/vbraun/.sage/timings_dt_test.json
**********************************************************************
File "sage/doctest/reporting.py", line 130, in
sage.doctest.reporting.DocTestReporter.report_head
Failed example:
DC = DocTestController(DD, [filename])
Expected nothing
Got:
Error loading stats from /home/vbraun/.sage/timings_dt_test.json
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14374>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.