Skip to content

Commit 5590d4d

Browse files
committed
Re-enable editable mode, and run tests in Python 2
1 parent 2a84cab commit 5590d4d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ before_install:
8787

8888
- travis_retry pip install -r requirements.txt
8989
- travis_retry pip install grabbit==0.2.6
90-
- travis_retry pip install git+https://github.com/bids-standard/pybids.git@0.7.0#egg=pybids
90+
- travis_retry pip install -e git+https://github.com/bids-standard/pybids.git@0.7.0#egg=pybids
9191

9292
install:
9393
- travis_retry pip install $EXTRA_PIP_FLAGS -e .[$NIPYPE_EXTRAS]

nipype/interfaces/tests/test_io.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,6 @@ def test_jsonsink(tmpdir, inputs_attributes):
581581
# There are three reasons these tests will be skipped:
582582
@pytest.mark.skipif(not have_pybids,
583583
reason="Pybids is not installed")
584-
@pytest.mark.skipif(sys.version_info < (3, 0),
585-
reason="Pybids no longer supports Python 2")
586584
@pytest.mark.skipif(not dist_is_editable('pybids'),
587585
reason="Pybids is not installed in editable mode")
588586
def test_bids_grabber(tmpdir):
@@ -598,8 +596,6 @@ def test_bids_grabber(tmpdir):
598596

599597
@pytest.mark.skipif(not have_pybids,
600598
reason="Pybids is not installed")
601-
@pytest.mark.skipif(sys.version_info < (3, 0),
602-
reason="Pybids no longer supports Python 2")
603599
@pytest.mark.skipif(not dist_is_editable('pybids'),
604600
reason="Pybids is not installed in editable mode")
605601
def test_bids_fields(tmpdir):
@@ -614,8 +610,6 @@ def test_bids_fields(tmpdir):
614610

615611
@pytest.mark.skipif(not have_pybids,
616612
reason="Pybids is not installed")
617-
@pytest.mark.skipif(sys.version_info < (3, 0),
618-
reason="Pybids no longer supports Python 2")
619613
@pytest.mark.skipif(not dist_is_editable('pybids'),
620614
reason="Pybids is not installed in editable mode")
621615
def test_bids_infields_outfields(tmpdir):

0 commit comments

Comments
 (0)