Unverified Commit def4561b authored by Ivan Mincik's avatar Ivan Mincik Committed by GitHub
Browse files

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

parents 8f59f44d 4858a62b
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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" ];