summaryrefslogtreecommitdiff
path: root/odoo/modules/module.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/modules/module.py')
-rw-r--r--odoo/modules/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/modules/module.py b/odoo/modules/module.py
index 2c06bca742b..aef985230c8 100644
--- a/odoo/modules/module.py
+++ b/odoo/modules/module.py
@@ -456,7 +456,7 @@ def get_test_modules(module):
_logger.exception('Can not `import %s`.', module)
return []
if hasattr(mod, 'fast_suite') or hasattr(mod, 'checks'):
- _logger.warn(
+ _logger.warning(
"Found deprecated fast_suite or checks attribute in test module "
"%s. These have no effect in or after version 8.0.",
mod.__name__)