From 5d50eb6c2c9e5964c412955f97606f179a4e6eba Mon Sep 17 00:00:00 2001 From: Neil Shephard Date: Fri, 19 Apr 2024 09:50:09 +0100 Subject: [PATCH] Mark test as failing under 3.8 Discovered that single skeleton > networkx failing under Python 3.8 is due to spurious edge detection . See #225 for further details. --- src/skan/test/test_csr.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/skan/test/test_csr.py b/src/skan/test/test_csr.py index b44ee486..246db331 100644 --- a/src/skan/test/test_csr.py +++ b/src/skan/test/test_csr.py @@ -1,4 +1,5 @@ from __future__ import annotations +import sys from collections import defaultdict from itertools import product @@ -422,7 +423,11 @@ def test_skeletonlabel(): None, 24, 24, - id='skeleton_linear1 (no summary)' + id='skeleton_linear1 (no summary)', + marks=pytest.mark.xfail( + sys.version_info[:2] == (3, 8), + reason='Incorrect edege discovery (#225)' + ) ), pytest.param( skeleton_linear2,