changeset 716c336b659f in modules/party_avatar:default
details: 
https://hg.tryton.org/modules/party_avatar?cmd=changeset&node=716c336b659f
description:
        Use custom class to avoid mro inconsistency
diffstat:

 tests/test_party_avatar.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 888e350c1180 -r 716c336b659f tests/test_party_avatar.py
--- a/tests/test_party_avatar.py        Mon Dec 13 00:40:43 2021 +0100
+++ b/tests/test_party_avatar.py        Mon Dec 13 00:55:21 2021 +0100
@@ -6,7 +6,8 @@
 try:
     from trytond.modules.company.tests import CompanyTestMixin
 except ImportError:
-    CompanyTestMixin = object
+    class CompanyTestMixin:
+        pass
 from trytond.tests.test_tryton import ModuleTestCase
 from trytond.tests.test_tryton import suite as test_suite
 

Reply via email to