forked from orbit-oss/flask
parent
240e398c8d
commit
1b526c837e
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,8 @@ if hasattr(sys, "pypy_version_info"):
|
|||
with _Mgr():
|
||||
raise AssertionError()
|
||||
except:
|
||||
# We intentionally use a bare except here. See the comment above
|
||||
# regarding a pypy bug as to why.
|
||||
raise
|
||||
except TypeError:
|
||||
BROKEN_PYPY_CTXMGR_EXIT = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue