pythonPackages.mapclassify: disable tests depending on an internet connection (#439902)

This commit is contained in:
Ivan Mincik
2025-09-08 15:13:20 +02:00
committed by GitHub
@@ -48,10 +48,16 @@ buildPythonPackage rec {
# requires network access
disabledTestPaths = [
# this module does http requests *at import time*
"mapclassify/tests/test_greedy.py"
# depends on remote data
"mapclassify/tests/test_rgba.py"
# Abort trap: 6
"mapclassify/tests/test_mapclassify.py"
];
disabledTests = [
# depends on remote datasets
"test_legendgram_map"
"test_legendgram_most_recent_cmap"
];
pythonImportsCheck = [ "mapclassify" ];