##// END OF EJS Templates
Merge pull request #2060 from Carreau/hyphen-used-as-minus-sign...
Merge pull request #2060 from Carreau/hyphen-used-as-minus-sign Change minus to \- or \(hy in manpages. Fixes #2058.

File last commit:

r4511:a85c3e74
r7783:cb3f6917 merge
Show More
test_nbpy.py
17 lines | 320 B | text/x-python | PythonLexer
from unittest import TestCase
from ..nbbase import (
NotebookNode,
new_code_cell, new_text_cell, new_worksheet, new_notebook
)
from ..nbpy import reads, writes
from .nbexamples import nb0, nb0_py
class TestPy(TestCase):
def test_write(self):
s = writes(nb0)
self.assertEquals(s,nb0_py)