From d0d3a06e0306b22729e8ee4e60d5a400ab9b10e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 13 Dec 2021 00:55:21 +0100 Subject: [PATCH] Use custom class to avoid mro inconsistency --- tests/test_party_avatar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_party_avatar.py b/tests/test_party_avatar.py index 7e2226cf1e..a3c8bc206a 100644 --- a/tests/test_party_avatar.py +++ b/tests/test_party_avatar.py @@ -6,7 +6,8 @@ import unittest 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