Merge branch '1.0.x'

This commit is contained in:
David Lord 2019-06-12 10:41:11 -07:00
commit 29111a3259
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
8 changed files with 35 additions and 65 deletions

View file

@ -6,7 +6,6 @@
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
import gc
import os
import pkgutil
import sys
@ -201,10 +200,3 @@ def purge_module(request):
request.addfinalizer(lambda: sys.modules.pop(name, None))
return inner
@pytest.fixture(autouse=True)
def catch_deprecation_warnings(recwarn):
yield
gc.collect()
assert not recwarn.list, "\n".join(str(w.message) for w in recwarn.list)