Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #18829: Merged with 6.8.beta7
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanncohen committed Jul 3, 2015
2 parents 6bc31bd + b70e19e commit ca2980f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/doctest/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _process_doc(self, doctests, doc, namespace, start):
and dt.examples[-1].sage_source == "sig_on_count()\n"):
# Line number refers to the end of the docstring
sigon = doctest.Example("sig_on_count()\n", "0\n", lineno=docstring.count("\n"))
sigon.sage_source = "sig_on_count()\n"
sigon.sage_source = "sig_on_count() # check sig_on/off pairings (virtual doctest)\n"
dt.examples.append(sigon)
doctests.append(dt)

Expand Down Expand Up @@ -1457,7 +1457,7 @@ def parse_docstring(self, docstring, namespace, start):
....: print ex.sage_source,
test1()
test2()
sig_on_count()
sig_on_count() # check sig_on/off pairings (virtual doctest)
"""
PythonStringSource = dynamic_class("sage.doctest.sources.PythonStringSource",
(StringDocTestSource, PythonSource))
Expand Down

0 comments on commit ca2980f

Please sign in to comment.