From b2b60450f7b9fae08bbd22f771f7b973aee6a135 Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 5 Oct 2021 09:11:00 -0700 Subject: [PATCH] allow lazy loading test to fail on pypy --- tests/test_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_cli.py b/tests/test_cli.py index 9c51ffe9..08ba4800 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,6 +1,7 @@ # This file was part of Flask-CLI and was modified under the terms of # its Revised BSD License. Copyright © 2015 CERN. import os +import platform import ssl import sys import types @@ -320,6 +321,7 @@ def test_scriptinfo(test_apps, monkeypatch): assert app.name == "testapp" +@pytest.mark.xfail(platform.python_implementation() == "PyPy", reason="flaky on pypy") def test_lazy_load_error(monkeypatch): """When using lazy loading, the correct exception should be re-raised.