From f4714a93000ab208508953b9610042fd4569d538 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 4 Jan 2022 10:27:51 +0100 Subject: Use flake8-pytest-style --- tests/unit/utils/test_qtutils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/unit/utils/test_qtutils.py') 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. -- cgit v1.2.3-54-g00ecf