python310Packages.pure-python-adb: disable tests

All tests result in RuntimeError. Make the pythonImportsCheck for the
async parts conditional on doCheck, as checkInput only works when
doCheck is true.
main
Martin Weinelt 2 years ago
parent 139ba48b97
commit 612a4ba51f
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 3
      pkgs/development/python-modules/pure-python-adb/default.nix

@ -23,6 +23,8 @@ buildPythonPackage rec {
];
};
doCheck = pythonOlder "3.10"; # all tests result in RuntimeError on 3.10
checkInputs = [
pytestCheckHook
]
@ -30,6 +32,7 @@ buildPythonPackage rec {
pythonImportsCheck = [
"ppadb.client"
] ++ lib.optionals doCheck [
"ppadb.client_async"
];

Loading…
Cancel
Save