From c8be2d4f7e83300a961e638a5a3474e171f7268e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 6 Sep 2018 16:43:10 +0200 Subject: [PATCH] Fix pylint issues with config cache --- tests/unit/config/test_configcache.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/unit/config/test_configcache.py b/tests/unit/config/test_configcache.py index 54fd98d03..91e2f22fa 100644 --- a/tests/unit/config/test_configcache.py +++ b/tests/unit/config/test_configcache.py @@ -17,6 +17,10 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . +# False-positives +# FIXME: Report this to pylint? +# pylint: disable=unsubscriptable-object + """Tests for qutebrowser.config.configcache.""" import pytest @@ -30,6 +34,7 @@ def test_configcache_except_pattern(config_stub): def test_configcache_error_set(config_stub): + # pylint: disable=unsupported-assignment-operation with pytest.raises(TypeError): config.cache['content.javascript.enabled'] = True