diff --git a/qutebrowser/test/helpers.py b/qutebrowser/test/helpers.py index 3215239fb..ecb79cbf0 100644 --- a/qutebrowser/test/helpers.py +++ b/qutebrowser/test/helpers.py @@ -20,6 +20,7 @@ import os from contextlib import contextmanager + @contextmanager def environ_set_temp(name, value): """Set a temporary environment variable.""" diff --git a/qutebrowser/test/test_helpers.py b/qutebrowser/test/test_helpers.py index 5792e366f..bde7fd8fb 100644 --- a/qutebrowser/test/test_helpers.py +++ b/qutebrowser/test/test_helpers.py @@ -15,14 +15,16 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . +# pylint: disable=missing-docstring + """Test test helpers.""" import os -import unittest from unittest import TestCase from qutebrowser.test.helpers import environ_set_temp + class TestEnvironSetTemp(TestCase): def test_environ_set(self):