summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-11-29 12:53:09 -0800
committerJonathan Ringer <jonringer117@gmail.com>2021-11-30 18:52:53 -0800
commit253a56ff91b58af4c1441e231607efb072e13d3f (patch)
tree23077da5fb79de1a6dc8891da502c683ec11afcb
parentpython3Packages.libcst: fix build (diff)
downloadnixpkgs-253a56ff91b58af4c1441e231607efb072e13d3f.tar.gz
python2Packages.jinja2: disable tests, pytest no longer filters warnings
-rw-r--r--pkgs/development/python-modules/jinja2/2.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/jinja2/2.nix b/pkgs/development/python-modules/jinja2/2.nix
index 3cdf83a74db9..02127a50df74 100644
--- a/pkgs/development/python-modules/jinja2/2.nix
+++ b/pkgs/development/python-modules/jinja2/2.nix
@@ -21,7 +21,8 @@ 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 -W ignore::DeprecationWarning