From 67884e4e9a1e057bcdd049879848d98d734cd03d Mon Sep 17 00:00:00 2001 From: Martin Weinelt <hexa@darmstadt.ccc.de> Date: Wed, 20 Apr 2022 03:09:50 +0200 Subject: [PATCH] python3Packages.pyfaidx: disable failing tests Disables a test file that requires test data that isn't part of the sdist or git repository. --- pkgs/development/python-modules/pyfaidx/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pyfaidx/default.nix b/pkgs/development/python-modules/pyfaidx/default.nix index e356ca563b54..20b3e99eeb41 100644 --- a/pkgs/development/python-modules/pyfaidx/default.nix +++ b/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 = [