Skip to content
Myr

Merge pull request #4294 from pallets/flaky-lazy-test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

allow lazy loading test to fail on pypy

authored by David Lord · committed by GitHub · parents 5a1c5eb, b2b6045 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_cli.py+2 added
1# This file was part of Flask-CLI and was modified under the terms of2# its Revised BSD License. Copyright © 2015 CERN.3import os4import platform5import ssl6import sys7import types8from functools import partial
311 unmodified lines
320 app = obj.load_app()321 assert app.name == "testapp"322323324@pytest.mark.xfail(platform.python_implementation() == "PyPy", reason="flaky on pypy")325def test_lazy_load_error(monkeypatch):326 """When using lazy loading, the correct exception should be327 re-raised.328 """
364 unmodified lines