Skip to content

Commit 81b439f

Browse files
committed
fix remaining doctest failures
1 parent 1ffa3fc commit 81b439f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/doc/en/developer/coding_basics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ framework. Here is a comprehensive list:
11811181
Use it for very long doctests that are only meant as documentation. It can
11821182
also be used for todo notes of what will eventually be implemented::
11831183

1184-
sage: factor(x*y - x*z) # todo: not implemented
1184+
sage: factor(x*y - x*z) # not implemented
11851185

11861186
It is also immediately clear to the user that the indicated example
11871187
does not currently work.

src/sage/doctest/control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1080,8 +1080,8 @@ def sort_sources(self):
10801080
sage.doctest.test
10811081
sage.doctest.sources
10821082
sage.doctest.reporting
1083-
sage.doctest.parsing
10841083
sage.doctest.parsing_test
1084+
sage.doctest.parsing
10851085
sage.doctest.forker
10861086
sage.doctest.fixtures
10871087
sage.doctest.external

src/sage/interfaces/maxima_abstract.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def console(self):
392392
393393
::
394394
395-
sage: maxima.interact() # this is not tested either
395+
sage: maxima.interact() # not tested
396396
--> Switching to Maxima <--
397397
maxima: 2+2
398398
4

src/sage/rings/tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def test_karatsuba_multiplication(base_ring, maxdeg1, maxdeg2,
450450
451451
Zero-tests over ``QQbar`` are currently very slow, so we test only very small examples::
452452
453-
sage: test_karatsuba_multiplication(QQbar, 3, 3, numtests=2) # known bug: macos (sporadic timeouts, see #35715>), long time, needs sage.rings.number_field
453+
sage: test_karatsuba_multiplication(QQbar, 3, 3, numtests=2) # known bug: linux (sporadic timeouts, see #35715), long time, needs sage.rings.number_field
454454
455455
Larger degrees (over ``ZZ``, using FLINT)::
456456

src/sage/structure/coerce_maps.pyx

+4-4
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ cdef class CallableConvertMap(Map):
376376
sage: def foo(P, x): return x^2
377377
sage: f = CallableConvertMap(ZZ, ZZ, foo)
378378
sage: g = copy(f) # indirect doctest
379-
sage: f == g # todo: comparison not implemented
379+
sage: f == g # not implemented (todo: implement comparison)
380380
True
381381
sage: f(3) == g(3)
382382
True
@@ -396,7 +396,7 @@ cdef class CallableConvertMap(Map):
396396
sage: def foo(P, x): return x^2
397397
sage: f = CallableConvertMap(ZZ, ZZ, foo)
398398
sage: g = copy(f) # indirect doctest
399-
sage: f == g # todo: comparison not implemented
399+
sage: f == g # not implemented (todo: implement comparison)
400400
True
401401
sage: f(3) == g(3)
402402
True
@@ -642,7 +642,7 @@ cdef class TryMap(Map):
642642
sage: map2 = QQ.coerce_map_from(ZZ)
643643
sage: map = sage.structure.coerce_maps.TryMap(map1, map2, error_types=(ZeroDivisionError,))
644644
sage: cmap = copy(map) # indirect doctest
645-
sage: cmap == map # todo: comparison not implemented
645+
sage: cmap == map # not implemented (todo: implement comparison)
646646
True
647647
sage: map(3) == cmap(3)
648648
True
@@ -665,7 +665,7 @@ cdef class TryMap(Map):
665665
sage: map2 = QQ.coerce_map_from(ZZ)
666666
sage: map = sage.structure.coerce_maps.TryMap(map1, map2, error_types=(ZeroDivisionError,))
667667
sage: cmap = copy(map) # indirect doctest
668-
sage: cmap == map # todo: comparison not implemented
668+
sage: cmap == map # not implemented (todo: implement comparison)
669669
True
670670
sage: map(3) == cmap(3)
671671
True

0 commit comments

Comments
 (0)