Hi, all, I've got the following failure
================================================================== sage -t "devel/sage-sk/sage/quadratic_forms/binary_qf.py" Traceback (most recent call last): File "/Users/tmp/sage-3.4.alpha0/tmp/binary_qf.py", line 1244, in <module> runner=runner) File "/Users/tmp/sage-3.4.alpha0/local/bin/sagedoctest.py", line 54, in testmod_returning_runner runner=runner) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 1819, in testmod_returning_runner for test in finder.find(m, name, globs=globs, extraglobs=extraglobs): File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 839, in find self._find(tests, obj, name, module, source_lines, globs, {}) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 893, in _find globs, seen) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 881, in _find test = self._get_test(obj, name, module, globs, source_lines) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 965, in _get_test filename, lineno) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 594, in get_doctest return DocTest(self.get_examples(string, name), globs, File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 608, in get_examples return [x for x in self.parse(string, name) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 570, in parse self._parse_example(m, name, lineno) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 640, in _parse_example lineno + len(source_lines)) File "/Users/tmp/sage-3.4.alpha0/local/bin/ncadoctest.py", line 726, in _check_prefix (lineno+i+1, name, line)) ValueError: line 24 of the docstring for __main__.example_6 has inconsistent leading whitespace: ' TESTS:' [1.6 s] exit code: 1024 ================================================================== If I can believe the error message, line 24 following "example_6()" in the .doctest file should have some whitespace problem, but looking at the file, I don't see it. The definition of example_6() is attached. What am I missing? Thanks! Justin --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
t.sage
Description: Binary data
-- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- My wife 'n kids 'n dogs are gone, I can't get Jesus on the phone, But Ol' Milwaukee's Best is my best friend. -----------