diff --git a/tests/unit/providers/callables/test_callable_py2_py3.py b/tests/unit/providers/callables/test_callable_py2_py3.py index 4ef351d1..fa186799 100644 --- a/tests/unit/providers/callables/test_callable_py2_py3.py +++ b/tests/unit/providers/callables/test_callable_py2_py3.py @@ -1,5 +1,6 @@ """Callable provider tests.""" +import decimal import sys from dependency_injector import providers, errors @@ -33,7 +34,7 @@ def test_set_provides_returns_(): "str_name,cls", [ ("dependency_injector.providers.Factory", providers.Factory), - ("builtins.list", list), + ("decimal.Decimal", decimal.Decimal), ("list", list), (".common.example", example), ("test_is_provider", test_is_provider), diff --git a/tests/unit/providers/factories/test_factory_py2_py3.py b/tests/unit/providers/factories/test_factory_py2_py3.py index e3a1b8f8..db41b06d 100644 --- a/tests/unit/providers/factories/test_factory_py2_py3.py +++ b/tests/unit/providers/factories/test_factory_py2_py3.py @@ -1,5 +1,6 @@ """Factory provider tests.""" +import decimal import sys from dependency_injector import providers, errors @@ -33,7 +34,7 @@ def test_set_provides_returns_(): "str_name,cls", [ ("dependency_injector.providers.Factory", providers.Factory), - ("builtins.list", list), + ("decimal.Decimal", decimal.Decimal), ("list", list), (".common.Example", Example), ("test_is_provider", test_is_provider), diff --git a/tests/unit/providers/resource/test_resource_py35.py b/tests/unit/providers/resource/test_resource_py35.py index 2f8f60b8..9b906bd7 100644 --- a/tests/unit/providers/resource/test_resource_py35.py +++ b/tests/unit/providers/resource/test_resource_py35.py @@ -1,5 +1,6 @@ """Resource provider tests.""" +import decimal import sys from typing import Any @@ -31,7 +32,7 @@ def test_set_provides_returns_(): "str_name,cls", [ ("dependency_injector.providers.Factory", providers.Factory), - ("builtins.list", list), + ("decimal.Decimal", decimal.Decimal), ("list", list), (".test_resource_py35.test_is_provider", test_is_provider), ("test_is_provider", test_is_provider), diff --git a/tests/unit/providers/singleton/test_singleton_py2_py3.py b/tests/unit/providers/singleton/test_singleton_py2_py3.py index c9b5fcb3..d60fb364 100644 --- a/tests/unit/providers/singleton/test_singleton_py2_py3.py +++ b/tests/unit/providers/singleton/test_singleton_py2_py3.py @@ -1,5 +1,5 @@ """Singleton provider tests.""" - +import decimal import sys from dependency_injector import providers, errors @@ -53,7 +53,7 @@ def test_set_provides_returns_self(provider): "str_name,cls", [ ("dependency_injector.providers.Factory", providers.Factory), - ("builtins.list", list), + ("decimal.Decimal", decimal.Decimal), ("list", list), (".common.Example", Example), ("test_is_provider", test_is_provider),