From 7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 8 Apr 2015 06:39:12 +0200 Subject: [PATCH] Another workaround for a pylint bug. --- tests/config/test_configtypes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/config/test_configtypes.py b/tests/config/test_configtypes.py index 7b356e5aa..0b6ea21b7 100644 --- a/tests/config/test_configtypes.py +++ b/tests/config/test_configtypes.py @@ -328,6 +328,9 @@ class TestBool: """Test Bool.""" + # https://bitbucket.org/logilab/pylint/issue/511/ + # pylint: disable=undefined-variable + TESTS = {True: ['1', 'yes', 'YES', 'true', 'TrUe', 'on'], False: ['0', 'no', 'NO', 'false', 'FaLsE', 'off']}