diff --git a/Orange/widgets/tests/base.py b/Orange/widgets/tests/base.py index 801b79da843..f4e1d970132 100644 --- a/Orange/widgets/tests/base.py +++ b/Orange/widgets/tests/base.py @@ -4,7 +4,11 @@ import unittest from unittest.mock import Mock # pylint: disable=unused-import -from typing import List, Optional, Type, TypeVar +from typing import List, Optional, TypeVar +try: + from typing import Type # typing.Type was added in 3.5.2 +except ImportError: + pass import numpy as np import sip