diff --git a/pkgs/development/python-modules/schedule/default.nix b/pkgs/development/python-modules/schedule/default.nix index 55dc83878060..4aad4dc1abd4 100644 --- a/pkgs/development/python-modules/schedule/default.nix +++ b/pkgs/development/python-modules/schedule/default.nix @@ -15,6 +15,13 @@ buildPythonPackage rec { 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; { description = "Python job scheduling for humans"; homepage = "https://github.com/dbader/schedule";