python3Packages.pyfaidx: disable failing tests

Disables a test file that requires test data that isn't part of the
sdist or git repository.
This commit is contained in:
Martin Weinelt 2022-04-20 03:09:50 +02:00
parent f2d98aedb1
commit 67884e4e9a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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 = [