python3Packages.pyfaidx: disable failing tests

Disables a test file that requires test data that isn't part of the
sdist or git repository.
main
Martin Weinelt 2 years ago
parent f2d98aedb1
commit 67884e4e9a
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 10
      pkgs/development/python-modules/pyfaidx/default.nix

@ -5,6 +5,7 @@
, numpy
, setuptools-scm
, six
, glibcLocales
, pytestCheckHook
}:
@ -27,16 +28,15 @@ buildPythonPackage rec {
];
checkInputs = [
glibcLocales
nose
numpy
pytestCheckHook
];
disabledTests = [
# PyPI releases don't ship all the needed files for the tests
"test_index_zero_length"
"test_fetch_zero_length"
"test_read_back_index"
disabledTestPaths = [
# FileNotFoundError: [Errno 2] No such file or directory: 'data/genes.fasta.gz'
"tests/test_Fasta_bgzip.py"
];
pythonImportsCheck = [

Loading…
Cancel
Save