From e450baf0f822e607ef01f3573259e1213352c2ef Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 26 Dec 2014 10:04:51 +0100 Subject: [PATCH] finally silence flake8 --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 3b03bb9..b41e269 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -478,4 +478,4 @@ def test_parse_options(): # Yes, we want a very strong typecheck here, because we actually have # to differentiate between bool and int, and in Python 2, bool is a # subclass of int. - assert type(a[key]) is type(expected[key]) # NOQA + assert a[key].__class__ is expected[key].__class__