pkgs/development/python-modules: stdenv.lib -> lib
This commit is contained in:
@@ -22,13 +22,13 @@ buildPythonPackage rec {
|
||||
# Failing tests on Python 3
|
||||
# https://github.com/pytest-dev/apipkg/issues/17
|
||||
checkPhase = let
|
||||
disabledTests = stdenv.lib.optionals isPy3k [
|
||||
disabledTests = lib.optionals isPy3k [
|
||||
"test_error_loading_one_element"
|
||||
"test_aliasmodule_proxy_methods"
|
||||
"test_eagerload_on_bython"
|
||||
];
|
||||
testExpression = stdenv.lib.optionalString (disabledTests != [])
|
||||
"-k 'not ${stdenv.lib.concatStringsSep " and not " disabledTests}'";
|
||||
testExpression = lib.optionalString (disabledTests != [])
|
||||
"-k 'not ${lib.concatStringsSep " and not " disabledTests}'";
|
||||
in ''
|
||||
py.test ${testExpression}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user