From 9f3463649a3782bc45d7a7c3489b52380315749b Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Mon, 31 May 2021 12:39:27 +0200 Subject: [PATCH] Ignore pylint error in test_proxy This fixes new errors reported by last pyling version Change-Id: I94a0c9d73bce6a3c1d00920c9eaa4b78bff98c43 --- tobiko/tests/unit/test_proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tobiko/tests/unit/test_proxy.py b/tobiko/tests/unit/test_proxy.py index d4c6a87bd..21e591fc8 100644 --- a/tobiko/tests/unit/test_proxy.py +++ b/tobiko/tests/unit/test_proxy.py @@ -50,8 +50,9 @@ class ProxyTest(unit.TobikoUnitTest): mock.MagicMock(side_effect=self.handle_call)) def test_call_handler(self): + # pylint: disable=no-member handler = self.mock_handler() - proxy = MyProtoHandler(handler).use_as(MyProto) + proxy: MyProto = MyProtoHandler(handler).use_as(MyProto) self.assertIsInstance(proxy, MyProto) self.assertTrue(callable(proxy.call_one)) self.assertEqual(inspect.signature(MyProto.call_one),