Commit c4639f8c authored by Emily's avatar Emily
Browse files

python27Packages.more-itertools: use `unittestCheckHook`

I thought that the Python 2 package set was entirely separate from
the Python 3 one, but this appears to actually be using the main
nose package. The actual code doesn’t use nose at all, and their
`tox.ini` uses unittest, so let’s fix that…
parent ef54fc53
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, nose
, unittestCheckHook
, six
, stdenv
}:
@@ -16,7 +16,7 @@ buildPythonPackage rec {
    sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
  };

  nativeCheckInputs = [ nose ];
  nativeCheckInputs = [ unittestCheckHook ];
  propagatedBuildInputs = [ six ];

  # iterable = range(10 ** 10)  # Is efficiently reversible