##// END OF EJS Templates
Websockets were not started correctly on QtWebKit 4...
Websockets were not started correctly on QtWebKit 4 - Draft76 was added to support QtWebKit 4 (and hence PhantomJS) a little bit longer, but before this change kernel websockets failed to start on that platform.

File last commit:

r7874:4a6836ce
r18922:ddce5a4e
Show More
test_nbpy.py
17 lines | 319 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.assertEqual(s,nb0_py)