##// END OF EJS Templates
Fixed formatting errors in rmagic R() docstring...
Fixed formatting errors in rmagic R() docstring Things now mostly render correctly in both terminal and HTML versions of the docs. Note that there are still numerous warnings regarding these magics. At least some of them appear to be from the debauched manner in which the docs are being generated from the @magic_arguments. In addition to the warnings you get when building the docs, if you look at the HTML source for, e.g., rmagic, you'll see that the options are formatted in numerous ways. I get a "--" converted to an en-dash (–) for example. In case you're looking at this in a system that messes up the formatting of the HTML code-point above, the en-dash is 8211.

File last commit:

r7874:4a6836ce
r12536:ddcf4b0f
Show More
test_nbpy.py
17 lines | 319 B | text/x-python | PythonLexer
Brian E. Granger
Initial draft of more formal notebook format....
r4401 from unittest import TestCase
Brian E. Granger
Full versioning added to nbformat.
r4406 from ..nbbase import (
Brian E. Granger
Initial draft of more formal notebook format....
r4401 NotebookNode,
Brian E. Granger
Markdown cells are now saved and restored in notebooks.
r4511 new_code_cell, new_text_cell, new_worksheet, new_notebook
Brian E. Granger
Initial draft of more formal notebook format....
r4401 )
Brian E. Granger
Full versioning added to nbformat.
r4406 from ..nbpy import reads, writes
from .nbexamples import nb0, nb0_py
Brian E. Granger
Initial draft of more formal notebook format....
r4401
class TestPy(TestCase):
def test_write(self):
s = writes(nb0)
Bradley M. Froehle
s/assertEquals/assertEqual/
r7874 self.assertEqual(s,nb0_py)
Brian E. Granger
Initial draft of more formal notebook format....
r4401