diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-docx/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/python-docx/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-docx/default.nix b/nixpkgs/pkgs/development/python-modules/python-docx/default.nix index 37a10bdd542c..6a5c01d216da 100644 --- a/nixpkgs/pkgs/development/python-modules/python-docx/default.nix +++ b/nixpkgs/pkgs/development/python-modules/python-docx/default.nix @@ -47,6 +47,16 @@ buildPythonPackage rec { "docx" ]; + disabledTests = [ + # https://github.com/python-openxml/python-docx/issues/1302 + "it_accepts_unicode_providing_there_is_no_encoding_declaration" + ]; + + pytestFlagsArray = [ + "-W" + "ignore::DeprecationWarning" + ]; + meta = with lib; { description = "Create and update Microsoft Word .docx files"; homepage = "https://python-docx.readthedocs.io/"; |