typeguard: fix tests
Broken by 9993c38682
Traceback:
tests/test_typeguard_py36.py:7: in <module>
from typing_extensions import Literal
E ModuleNotFoundError: No module named 'typing_extensions'
Resolved by adding typing-extensions to checkInputs
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, pytest
|
, pytest
|
||||||
|
, typing-extensions
|
||||||
, glibcLocales
|
, glibcLocales
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -25,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
substituteInPlace setup.cfg --replace " --cov" ""
|
substituteInPlace setup.cfg --replace " --cov" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest typing-extensions ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test .
|
py.test .
|
||||||
|
|||||||
Reference in New Issue
Block a user