mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 03:58:22 +00:00
pythonPackage.backports-shutil-which: enable tests
This commit is contained in:
parent
d0ce8834ae
commit
8d4afa5f2e
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage }:
|
||||
{ stdenv, fetchPypi, fetchFromGitHub, buildPythonPackage, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports.shutil_which";
|
||||
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user