pythonPackages.mapclassify: disable tests depending on an internet connection

Changed files
+8 -2
pkgs
development
python-modules
mapclassify
+8 -2
pkgs/development/python-modules/mapclassify/default.nix
···
# 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" ];