Skip to content

Commit

Permalink
pythonPackage.backports-shutil-which: enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and jluttine committed Sep 12, 2018
1 parent d0ce883 commit 8d4afa5
Showing 1 changed file with 6 additions and 3 deletions.
@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage }:
{ stdenv, fetchPypi, fetchFromGitHub, buildPythonPackage, pytest }:

buildPythonPackage rec {
pname = "backports.shutil_which";
Expand All @@ -9,8 +9,11 @@ buildPythonPackage rec {
sha256 = "16sa3adkf71862cb9pk747pw80a2f1v5m915ijb4fgj309xrlhyx";
};

# Tests fail: "ValueError: underlying buffer has been detached"
doCheck = false;
checkInputs = [ pytest ];

checkPhase = ''
py.test test
'';

meta = with stdenv.lib; {
description = "Backport of shutil.which from Python 3.3";
Expand Down

0 comments on commit 8d4afa5

Please sign in to comment.