Skip to content

Commit f591925

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent abd4fac commit f591925

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

qtpy/tests/test_main.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,7 @@ def test_qt_api_environ(api):
152152

153153
@pytest.mark.parametrize(
154154
"first,second",
155-
[
156-
('1.2.3', '1.2.3.1'),
157-
('1.2.3', '1.10.0')
158-
],
155+
[("1.2.3", "1.2.3.1"), ("1.2.3", "1.10.0")],
159156
)
160157
def test_parse_version(first, second):
161158
"""Verify the behavior of _parse_version()"""
@@ -164,10 +161,7 @@ def test_parse_version(first, second):
164161

165162
@pytest.mark.parametrize(
166163
"value,expect",
167-
[
168-
('1.2.3', (1, 2, 3)),
169-
('1.x.3', (1, 0, 3))
170-
],
164+
[("1.2.3", (1, 2, 3)), ("1.x.3", (1, 0, 3))],
171165
)
172166
def test_parse_version_internal(value, expect):
173167
"""Verify the behavior of _parse_version_internal()"""

0 commit comments

Comments
 (0)