python3Packages.bleach: disable network tests

This commit is contained in:
Jonathan Ringer 2019-12-20 22:23:33 -08:00 committed by Frederik Rietdijk
parent 8b4996eac2
commit 4f0ff75060

View File

@ -24,10 +24,9 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace ",<3dev" ""
'';
# Disable a test
# https://github.com/mozilla/bleach/issues/467
# Disable network tests
checkPhase = ''
pytest -k "not test_only_text_is_cleaned"
pytest -k "not protocols"
'';
meta = {