Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
17
venv/Lib/site-packages/nbformat/v2/tests/test_nbpy.py
Normal file
17
venv/Lib/site-packages/nbformat/v2/tests/test_nbpy.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
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)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue