python2Packages.pathlib2: disable test that assumes /etc/passwd

This commit is contained in:
Michael Raskin 2018-02-26 12:46:29 +01:00
parent a2a922d5c8
commit 754816b84b

View file

@ -22,6 +22,7 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
preCheck = ''
export LC_ALL="en_US.UTF-8"
sed -i test_pathlib2.py -e "s@hasattr(pwd, 'getpwall')@False@"
'';
meta = {
@ -29,4 +30,4 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
homepage = https://pypi.python.org/pypi/pathlib2/;
license = with lib.licenses; [ mit ];
};
}
}