forked from orbit-oss/flask
allow lazy loading test to fail on pypy
This commit is contained in:
parent
5a1c5eb5c0
commit
b2b60450f7
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# This file was part of Flask-CLI and was modified under the terms of
|
# This file was part of Flask-CLI and was modified under the terms of
|
||||||
# its Revised BSD License. Copyright © 2015 CERN.
|
# its Revised BSD License. Copyright © 2015 CERN.
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import ssl
|
import ssl
|
||||||
import sys
|
import sys
|
||||||
import types
|
import types
|
||||||
|
|
@ -320,6 +321,7 @@ def test_scriptinfo(test_apps, monkeypatch):
|
||||||
assert app.name == "testapp"
|
assert app.name == "testapp"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.xfail(platform.python_implementation() == "PyPy", reason="flaky on pypy")
|
||||||
def test_lazy_load_error(monkeypatch):
|
def test_lazy_load_error(monkeypatch):
|
||||||
"""When using lazy loading, the correct exception should be
|
"""When using lazy loading, the correct exception should be
|
||||||
re-raised.
|
re-raised.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue