diff --git a/pkgs/development/python-modules/six/default.nix b/pkgs/development/python-modules/six/default.nix index 775dd4b3992e..afaedae9529e 100644 --- a/pkgs/development/python-modules/six/default.nix +++ b/pkgs/development/python-modules/six/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, isPyPy , pytestCheckHook }: @@ -19,6 +20,11 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = if isPyPy then [ + # uses ctypes to find native library + "--deselect=test_six.py::test_move_items" + ] else null; + pythonImportsCheck = [ "six" ]; meta = {