diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/jinja2/2.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/jinja2/2.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/jinja2/2.nix b/nixpkgs/pkgs/development/python-modules/jinja2/2.nix index dce93d33ab50..02127a50df74 100644 --- a/nixpkgs/pkgs/development/python-modules/jinja2/2.nix +++ b/nixpkgs/pkgs/development/python-modules/jinja2/2.nix @@ -21,10 +21,11 @@ buildPythonPackage rec { # Multiple tests run out of stack space on 32bit systems with python2. # See https://github.com/pallets/jinja/issues/1158 - doCheck = !stdenv.is32bit || isPy3k; + # warnings are no longer being filtered correctly for python2 + doCheck = !stdenv.is32bit && isPy3k; checkPhase = '' - pytest -v tests + pytest -v tests -W ignore::DeprecationWarning ''; meta = with lib; { |