Merge branch '1.0.x'
This commit is contained in:
commit
29111a3259
8 changed files with 35 additions and 65 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue