diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-01-04 10:27:51 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-01-04 10:30:24 +0100 |
commit | f4714a93000ab208508953b9610042fd4569d538 (patch) | |
tree | 7ca57876b2447ddc0ed36a4dcbad0f1f33dabc1b /tests/unit/utils/test_qtutils.py | |
parent | e1af0ff74d693d32fb745bd67bc6fd0570abf302 (diff) | |
download | qutebrowser-pytest-style.tar.gz qutebrowser-pytest-style.zip |
Use flake8-pytest-stylepytest-style
Diffstat (limited to 'tests/unit/utils/test_qtutils.py')
-rw-r--r-- | tests/unit/utils/test_qtutils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/utils/test_qtutils.py b/tests/unit/utils/test_qtutils.py index 6309e46b5..ad9adf032 100644 --- a/tests/unit/utils/test_qtutils.py +++ b/tests/unit/utils/test_qtutils.py @@ -51,8 +51,7 @@ else: test_file = None -@pytest.mark.parametrize(['qversion', 'compiled', 'pyqt', 'version', 'exact', - 'expected'], [ +@pytest.mark.parametrize('qversion, compiled, pyqt, version, exact, expected', [ # equal versions ('5.14.0', None, None, '5.14.0', False, True), ('5.14.0', None, None, '5.14.0', True, True), # exact=True @@ -741,7 +740,7 @@ class TestPyQIODevice: with pytest.raises(io.UnsupportedOperation): pyqiodev.seek(0, whence) - @pytest.mark.flaky() + @pytest.mark.flaky def test_qprocess(self, py_proc): """Test PyQIODevice with a QProcess which is non-sequential. |