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…
This commit is contained in:
Emily 2024-09-23 00:11:56 +01:00
parent ef54fc5394
commit c4639f8cbc

View File

@ -1,7 +1,7 @@
{ 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