Commit 6a20b839 authored by Jérome Perrin's avatar Jérome Perrin

quiet warnings at the very top of the file



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9141 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b715b494
......@@ -6,6 +6,10 @@
__version__ = '0.3.0'
# XXX: Suppress DeprecationWarnings
import warnings
warnings.simplefilter('ignore', DeprecationWarning, append=1)
# XXX make sure that get_request works.
current_app = None
import Products.ERP5Type.Utils
......@@ -32,10 +36,6 @@ try:
except ImportError:
pass
# XXX: Suppress DeprecationWarnings
import warnings
warnings.simplefilter('ignore', DeprecationWarning, append=1)
# Std Zope Products
ZopeTestCase.installProduct('ExtFile')
ZopeTestCase.installProduct('Photo')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment