summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-09-01 18:11:50 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-09-01 18:12:26 +0200
commitb96ba3fc9383c12ad352b509e5229bfbbd01523c (patch)
treed2d2d16f5d8ef643fc7d5d071ebf843885208430
parent06006f7759442ce41b2a70bf365c639761161bd2 (diff)
pythonPackages.isodate: fix tests
-rw-r--r--pkgs/top-level/python-packages.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 66d6fb41f0744..e4dbdd70a927e 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -21098,6 +21098,13 @@ in modules // {
       sha256 = "42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31";
     };
 
+    # Judging from SyntaxError
+    doCheck = !(isPy3k);
+
+    checkPhase = ''
+      ${python.interpreter} -m unittest discover -s src/isodate/tests
+    '';
+
     meta = {
       description = "ISO 8601 date/time parser";
       homepage = http://cheeseshop.python.org/pypi/isodate;