pythonPackages.pypdf2: disable tests

This commit is contained in:
Frederik Rietdijk 2016-10-17 13:53:26 +02:00
parent 9ab90824d3
commit 053dd436c9

View File

@ -20597,6 +20597,13 @@ in {
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
buildInputs = [ pkgs.glibcLocales ]; buildInputs = [ pkgs.glibcLocales ];
checkPhase = ''
${python.interpreter} -m unittest discover -s Tests
'';
# Tests broken on Python 3.x
doCheck = !(isPy3k);
meta = { meta = {
description = "A Pure-Python library built as a PDF toolkit"; description = "A Pure-Python library built as a PDF toolkit";
homepage = "http://mstamy2.github.com/PyPDF2/"; homepage = "http://mstamy2.github.com/PyPDF2/";