pythonPackages.mapclassify: disable tests depending on an internet connection

This commit is contained in:
Augustin Trancart
2025-09-03 18:21:03 +02:00
parent 9e47491322
commit 4858a62b11
@@ -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" ];