about summary refs log tree commit diff
path: root/pkgs/development/python-modules/schedule
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-10 06:09:45 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-11 01:54:19 +0200
commitfbd86581cad93cc48bc445c30bd21731639649ce (patch)
tree3b936ad4e03b03d670a340c3238b37c7db06dcc5 /pkgs/development/python-modules/schedule
parentcb84271a757af2d828ab5b9d9fde5219af3fef7b (diff)
python3Package.schedule: comment broken test line
Diffstat (limited to 'pkgs/development/python-modules/schedule')
-rw-r--r--pkgs/development/python-modules/schedule/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/schedule/default.nix b/pkgs/development/python-modules/schedule/default.nix
index 55dc838780601..4aad4dc1abd4e 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";