Another workaround for a pylint bug.

This commit is contained in:
Florian Bruhin 2015-04-08 06:39:12 +02:00
parent 679ffa452a
commit 7d4e6dfd67

View File

@ -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']}