python3Package.schedule: comment broken test line

This commit is contained in:
Martin Weinelt 2021-10-10 06:09:45 +02:00
parent cb84271a75
commit fbd86581ca

View file

@ -15,6 +15,13 @@ buildPythonPackage rec {
buildInputs = [ mock ]; buildInputs = [ mock ];
preCheck = ''
# https://github.com/dbader/schedule/issues/488
substituteInPlace test_schedule.py --replace \
"self.assertRaises(ScheduleValueError, every().day.until, datetime.time(hour=5))" \
"# self.assertRaises(ScheduleValueError, every().day.until, datetime.time(hour=5))"
'';
meta = with lib; { meta = with lib; {
description = "Python job scheduling for humans"; description = "Python job scheduling for humans";
homepage = "https://github.com/dbader/schedule"; homepage = "https://github.com/dbader/schedule";