From: =?utf-8?q?H=C3=A5vard_Flaget_Aasen?= Date: Wed, 25 Mar 2020 15:05:55 +0100 Subject: disable test for python3.8 --- t/unit/security/test_security.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/unit/security/test_security.py b/t/unit/security/test_security.py index fc9a5e6..690322d 100644 --- a/t/unit/security/test_security.py +++ b/t/unit/security/test_security.py @@ -17,6 +17,7 @@ import builtins import os import tempfile from unittest.mock import Mock, patch +import sys import pytest from kombu.exceptions import SerializerNotInstalled @@ -120,6 +121,7 @@ class test_security(SecurityCase): disabled.clear() @patch('celery.current_app') + @pytest.mark.skipif(sys.version_info > (3, 8), reason='breaks with python 3.8') def test_setup_security__default_app(self, current_app): with pytest.raises(ImproperlyConfigured): setup_security()