Ticket #3854: trac_3854_doctest-fix.patch
| File trac_3854_doctest-fix.patch, 1.5 kB (added by mabshoff, 4 months ago) |
|---|
-
a/sage/server/notebook/interact.py
old new 1396 1396 EXAMPLES: 1397 1397 sage: B = sage.server.notebook.interact.InputBox('x',2) 1398 1398 sage: sage.server.notebook.interact.InteractCanvas([B], 3).wrap_in_outside_frame('<!--inside-->') 1399 "< div padding=6 id='div-interact-3'> ...</div>\n "1399 "<!--notruncate--><div padding=6 id='div-interact-3'> ...</div>\n " 1400 1400 """ 1401 1401 return """<!--notruncate--><div padding=6 id='div-interact-%s'> <table width=800px height=400px bgcolor='#c5c5c5' 1402 1402 cellpadding=15><tr><td bgcolor='#f9f9f9' valign=top align=left>%s</td> … … 1422 1422 EXAMPLES: 1423 1423 sage: B = sage.server.notebook.interact.InputBox('x',2) 1424 1424 sage: sage.server.notebook.interact.InteractCanvas([B], 3).render() 1425 '< div padding=6 id=\'div-interact-3\'> ...</div>\n '1425 '<!--notruncate--><div padding=6 id=\'div-interact-3\'> ...</div>\n ' 1426 1426 """ 1427 1427 s = "%s%s"%(self.render_controls(), self.render_output()) 1428 1428 s = self.wrap_in_outside_frame(s)