Skip to content

Commit

Permalink
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_contentsmanager.py
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ def test_load_save_rename(nb_file, tmpdir):
nb = jupytext.readf(nb_file)
cm.save(model=dict(type='notebook', content=nb), path=tmp_rmd)
nb_rmd = cm.get(tmp_rmd)
compare_notebooks(nb, nb_rmd['content'])
compare_notebooks(nb, nb_rmd['content'], ext='.Rmd')

# save ipynb
cm.save(model=dict(type='notebook', content=nb), path=tmp_ipynb)
2 changes: 1 addition & 1 deletion tests/test_ipynb_to_rmd.py
Original file line number Diff line number Diff line change
@@ -22,4 +22,4 @@ def test_identity_source_write_read(nb_file):
rmd = jupytext.writes(nb1, ext='.Rmd')
nb2 = jupytext.reads(rmd, ext='.Rmd')

compare_notebooks(nb1, nb2)
compare_notebooks(nb1, nb2, ext='.Rmd')
4 changes: 2 additions & 2 deletions tests/test_save_multiple.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ def test_rmd_is_ok(nb_file, tmpdir):

nb2 = jupytext.readf(str(tmpdir.join(tmp_rmd)))

compare_notebooks(nb, nb2)
compare_notebooks(nb, nb2, ext='.Rmd')


@pytest.mark.parametrize('nb_file', list_notebooks('Rmd'))
@@ -69,7 +69,7 @@ def test_all_files_created(nb_file, tmpdir):
compare_notebooks(nb, nb2)

nb3 = jupytext.readf(str(tmpdir.join(tmp_rmd)))
compare_notebooks(nb, nb3)
compare_notebooks(nb, nb3, ext='.Rmd')


def test_no_files_created_on_no_format(tmpdir):

0 comments on commit 32e7306

Please sign in to comment.