##// END OF EJS Templates
InteractiveShell.run_code: Update docstring....
InteractiveShell.run_code: Update docstring. The docstring refers to a post_execute parameter which was moved to the class level in 54e4e463.

File last commit:

r4406:0251893c
r6645:395320f2
Show More
test_json.py
14 lines | 220 B | text/x-python | PythonLexer
from unittest import TestCase
from ..nbjson import reads, writes
from .nbexamples import nb0
class TestJSON(TestCase):
def test_roundtrip(self):
s = writes(nb0)
self.assertEquals(reads(s),nb0)