pythonPackages.typing: Disable tests on PyPy.
Not sure whether this is right TBH.
This commit is contained in:
parent
9c04b75cf9
commit
1303661b1b
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy3k, python }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy3k, isPyPy, python }:
|
||||
|
||||
let
|
||||
testDir = if isPy3k then "src" else "python2";
|
||||
|
@ -14,7 +14,8 @@ in buildPythonPackage rec {
|
|||
|
||||
# Error for Python3.6: ImportError: cannot import name 'ann_module'
|
||||
# See https://github.com/python/typing/pull/280
|
||||
doCheck = pythonOlder "3.6";
|
||||
# Also, don't bother on PyPy: AssertionError: TypeError not raised
|
||||
doCheck = pythonOlder "3.6" && !isPyPy;
|
||||
|
||||
checkPhase = ''
|
||||
cd ${testDir}
|
||||
|
|
Loading…
Reference in New Issue