typeguard: fix tests

Broken by 9993c38682d2889b784c845145d7b00c1fb126ec

    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:
Dan Callahan 2020-06-25 00:11:06 +01:00
parent e7cc52a114
commit 40fb898673
No known key found for this signature in database
GPG Key ID: 8D6DD713E9EBA7FD

View File

@ -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 .