Skip to content

Commit

Permalink
allow lazy loading test to fail on pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Oct 5, 2021
1 parent 5a1c5eb commit b2b6045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -320,6 +321,7 @@ def create_app():
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.
Expand Down

0 comments on commit b2b6045

Please sign in to comment.