From 71404a87b98a963ba0590ef4fcc7eae699e7b66c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 22 Dec 2016 15:14:35 +0100 Subject: [PATCH] Fix lint --- qutebrowser/config/configtypes.py | 1 - tests/unit/utils/test_urlutils.py | 1 - 2 files changed, 2 deletions(-) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index b0399fcac..c21e5ced7 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -1030,7 +1030,6 @@ class Proxy(BaseType): return elif value in self.valid_values: return - url = QUrl(value) try: self.transform(value) diff --git a/tests/unit/utils/test_urlutils.py b/tests/unit/utils/test_urlutils.py index 10ba54b3a..49bc85f07 100644 --- a/tests/unit/utils/test_urlutils.py +++ b/tests/unit/utils/test_urlutils.py @@ -740,7 +740,6 @@ def test_data_url(): assert url == QUrl('data:text/plain;base64,Zm9v') - class TestProxyFromUrl: @pytest.mark.parametrize('url, expected', [