python2Packages.sseclient: disable tests
This commit is contained in:
parent
5d15eec20b
commit
d1d1e39a58
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi, isPy27
|
||||||
, requests, six
|
, requests, six
|
||||||
, backports_unittest-mock, pytestCheckHook, pytestrunner }:
|
, backports_unittest-mock, pytestCheckHook, pytestrunner }:
|
||||||
|
|
||||||
@ -13,6 +13,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ requests six ];
|
propagatedBuildInputs = [ requests six ];
|
||||||
|
|
||||||
|
# some tests use python3 strings
|
||||||
|
doCheck = !isPy27;
|
||||||
checkInputs = [ backports_unittest-mock pytestCheckHook pytestrunner ];
|
checkInputs = [ backports_unittest-mock pytestCheckHook pytestrunner ];
|
||||||
|
|
||||||
# tries to open connection to wikipedia
|
# tries to open connection to wikipedia
|
||||||
|
Loading…
Reference in New Issue
Block a user