From 684c75ef3e66446eabcf1aacb3d11bfc3d0f5493 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sat, 4 Aug 2018 22:19:52 +0200 Subject: [PATCH] Ignore method assignment type error --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index cb8142f..0471be9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -38,8 +38,8 @@ def fetcher(): """ fetcher = Fetcher() - fetcher.fetch_meta = MagicMock(method='fetch_meta') - fetcher.fetch_data = MagicMock(method='fetch_data') + fetcher.fetch_meta = MagicMock(method='fetch_meta') # type: ignore + fetcher.fetch_data = MagicMock(method='fetch_data') # type: ignore return fetcher