From ee3835485697690b8384d5a44639e604cfb387fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 27 Jun 2017 12:41:22 +0200 Subject: [PATCH] Skip test for versions affected by bug #25195 issue6594 review35481002 --- tests/test_notification_email.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_notification_email.py b/tests/test_notification_email.py index 6d2edbb023..ed63f4cf03 100644 --- a/tests/test_notification_email.py +++ b/tests/test_notification_email.py @@ -1,5 +1,6 @@ # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. +import sys import unittest try: from unittest.mock import patch, ANY @@ -28,6 +29,8 @@ class NotificationEmailTestCase(ModuleTestCase): config.set('email', 'from', FROM) self.addCleanup(lambda: config.set('email', 'from', reset_from)) + @unittest.skipIf( + (3, 5, 0) <= sys.version_info < (3, 5, 2), "python bug #25195") @with_transaction() def test_notification_email(self): "Test email notificiation is sent on trigger"