Browse Source

travis: preliminarily disable python3.8 pipeline

https://travis-ci.org/fphammerle/freesurfer-surface/jobs/649628642?utm_medium=notification&utm_source=github_status
Fabian Peter Hammerle 1 week ago
parent
commit
8d73afa932
3 changed files with 2 additions and 6 deletions
  1. 0 1
      .travis.yml
  2. 0 1
      setup.py
  3. 2 4
      tests/test_surface.py

+ 0 - 1
.travis.yml

@@ -4,7 +4,6 @@ python:
 - 3.5
 - 3.6
 - 3.7
-- 3.8
 
 # required for python >= 3.7
 dist: xenial

+ 0 - 1
setup.py

@@ -36,7 +36,6 @@ setuptools.setup(
         "Programming Language :: Python :: 3.5",
         "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
-        "Programming Language :: Python :: 3.8",
         "Topic :: Scientific/Engineering :: Information Analysis",
         "Topic :: Scientific/Engineering :: Medical Science Apps.",
         "Topic :: Utilities",

+ 2 - 4
tests/test_surface.py

@@ -434,10 +434,8 @@ def test_find_label_border_polygonal_chains():
     surface.load_annotation_file(ANNOTATION_FILE_PATH)
     precentral_label, = filter(lambda l: l.name == 'precentral',
                                surface.annotation.labels.values())
-    border_chains = list(surface.find_label_border_polygonal_chains(
-        precentral_label))
-    assert len(border_chains) == 1, border_chains
-    border_chain, = border_chains
+    border_chain, = surface.find_label_border_polygonal_chains(
+        precentral_label)
     vertex_indices = list(border_chain.vertex_indices)
     assert len(vertex_indices) == 418
     min_index = vertex_indices.index(min(vertex_indices))