mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPackages.tidylib: fix test runner, disable tests
This commit is contained in:
parent
3b2e3355db
commit
a57a8fae39
1 changed files with 11 additions and 0 deletions
|
@ -18612,6 +18612,17 @@ in modules // {
|
|||
md5 = "2a28267370c9409b592cdb786649cb25";
|
||||
};
|
||||
|
||||
# Judging from SyntaxError in tests
|
||||
disabled = isPy3k;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
# Bunch of tests fail
|
||||
# https://github.com/countergram/pytidylib/issues/13
|
||||
doCheck = false;
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's#load_library(name)#load_library("${pkgs.html-tidy}/lib/libtidy.so")#' tidylib/__init__.py
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue