1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

pythonPackages.isort: disable two tests

This commit is contained in:
Frederik Rietdijk 2019-06-15 09:09:25 +02:00
parent 9f57b6680a
commit df8a386a08

View file

@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, futures, backports_functools_lru_cache, mock, pytest }:
let
skipTests = lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
testOpts = lib.concatMapStringsSep " " (t: "--deselect test_isort.py::${t}") skipTests;
in buildPythonPackage rec {
pname = "isort";