Use absolute import to import locale
Since locale folder has been created with the translations, Python3 tests failed because 2to3 converts the import of locale into a relative import because it detects the locale folder.
This commit is contained in:
1 parent
4d73e14396
commit
381c49ea1f
2 files changed
+3
No files matched your search
@@ -1,5 +1,7 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from __future__ import absolute_import
|
||||
|
||||
import locale
|
||||
|
||||
from zeep.exceptions import Fault
|
||||
|
||||
Reference in new issue
Block a user