Skip to content

Commit

Permalink
Skip if not 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jul 22, 2018
1 parent 309cde0 commit 38c2bdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_active_cells.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
import pytest
import nbrmd
from testfixtures import compare
Expand Down Expand Up @@ -46,6 +47,8 @@ def test_active_all(ext):
'outputs': []}}


@pytest.mark.skipif(sys.version_info < (3, 6),
reason="unordered dict result in changes in chunk options")
@pytest.mark.parametrize('ext', ['.Rmd', '.py']) # TODO: add R
def test_active_py_ipynb(ext):
nb = nbrmd.reads(ACTIVE_PY_IPYNB[ext], ext=ext)
Expand Down

0 comments on commit 38c2bdc

Please sign in to comment.