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:
parent
ef54fc5394
commit
c4639f8cbc
@ -1,7 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, nose
|
, unittestCheckHook
|
||||||
, six
|
, six
|
||||||
, stdenv
|
, stdenv
|
||||||
}:
|
}:
|
||||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
|
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [ nose ];
|
nativeCheckInputs = [ unittestCheckHook ];
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
# iterable = range(10 ** 10) # Is efficiently reversible
|
# iterable = range(10 ** 10) # Is efficiently reversible
|
||||||
|
Loading…
Reference in New Issue
Block a user