@@ -1369,7 +1369,7 @@ def report_success(self, out, test, example, got, *, check_duration=0):
13691369 sage: FDS = FileDocTestSource(filename, DD)
13701370 sage: doctests, extras = FDS.create_doctests(globals())
13711371 sage: ex = doctests[0].examples[0]
1372- sage: ex.walltime = 0.0
1372+ sage: ex.walltime = 0.0r
13731373 sage: DTR.report_success(sys.stdout.write, doctests[0], ex, '1764')
13741374 ok [0.00 s]
13751375 """
@@ -1542,8 +1542,8 @@ def report_overtime(self, out, test, example, got, *, check_duration=0):
15421542 sage: FDS = FileDocTestSource(filename, DD)
15431543 sage: doctests, extras = FDS.create_doctests(globals())
15441544 sage: ex = doctests[0].examples[0]
1545- sage: ex.walltime = 1.23
1546- sage: DTR.report_overtime(sys.stdout.write, doctests[0], ex, 'BAD ANSWER\n', check_duration=2.34 )
1545+ sage: ex.walltime = 1.23r
1546+ sage: DTR.report_overtime(sys.stdout.write, doctests[0], ex, 'BAD ANSWER\n', check_duration=2.34r )
15471547 **********************************************************************
15481548 File ".../sage/doctest/forker.py", line 11, in sage.doctest.forker
15491549 Warning, slow doctest:
@@ -1673,11 +1673,12 @@ def update_results(self, D):
16731673 sage: DTR.run(doctests[0])
16741674 TestResults(failed=0, attempted=4)
16751675 sage: T.stop().annotate(DTR)
1676- sage: D = DictAsObject({'cputime':[],'walltime':[],'err':None})
1676+ sage: D = DictAsObject({'cputime': [], 'walltime': [], 'err': None})
16771677 sage: DTR.update_results(D)
16781678 0
16791679 sage: sorted(list(D.items()))
1680- [('cputime', [...]), ('err', None), ('failures', 0), ('tests', 4), ('walltime', [...]), ('walltime_skips', 0)]
1680+ [('cputime', [...]), ('err', None), ('failures', 0), ('tests', 4),
1681+ ('walltime', [...]), ('walltime_skips', 0)]
16811682 """
16821683 for key in ["cputime" , "walltime" ]:
16831684 if key not in D :
0 commit comments