diff options
author | Gabriel Ebner <gebner@gebner.org> | 2018-01-04 09:51:14 +0100 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2018-01-04 09:54:52 +0100 |
commit | 6484eac5b2e38490724d9df3079e736605c7eeb6 (patch) | |
tree | fddb2b26b2fc808b30c0d87be6ed6970936aafd5 /pkgs/development/python-modules/odfpy | |
parent | 8661c59149670fcd8befd82de6541217d6aed48a (diff) | |
download | nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.tar nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.tar.gz nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.tar.bz2 nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.tar.lz nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.tar.xz nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.tar.zst nixlib-6484eac5b2e38490724d9df3079e736605c7eeb6.zip |
python2Packages.odfpy: disable tests
Diffstat (limited to 'pkgs/development/python-modules/odfpy')
-rw-r--r-- | pkgs/development/python-modules/odfpy/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/odfpy/default.nix b/pkgs/development/python-modules/odfpy/default.nix index 39ed5edef0b3..37790b6eaf8a 100644 --- a/pkgs/development/python-modules/odfpy/default.nix +++ b/pkgs/development/python-modules/odfpy/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , python +, isPy27 }: buildPythonPackage rec { @@ -14,7 +15,9 @@ buildPythonPackage rec { sha256 = "6bcaf3b23aa9e49ed8c8c177266539b211add4e02402748a994451482a10cb1b"; }; - checkPhase = '' + # Python 2.7 uses a different ordering for xml namespaces. + # The testAttributeForeign test expects "ns44", but fails since it gets "ns43" + checkPhase = " " + lib.optionalString (!isPy27) '' ${python.interpreter} -m unittest discover -s tests ''; |