Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 21, 2024
1 parent abd4fac commit f591925
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions qtpy/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,7 @@ def test_qt_api_environ(api):

@pytest.mark.parametrize(
"first,second",
[
('1.2.3', '1.2.3.1'),
('1.2.3', '1.10.0')
],
[("1.2.3", "1.2.3.1"), ("1.2.3", "1.10.0")],
)
def test_parse_version(first, second):
"""Verify the behavior of _parse_version()"""
Expand All @@ -164,10 +161,7 @@ def test_parse_version(first, second):

@pytest.mark.parametrize(
"value,expect",
[
('1.2.3', (1, 2, 3)),
('1.x.3', (1, 0, 3))
],
[("1.2.3", (1, 2, 3)), ("1.x.3", (1, 0, 3))],
)
def test_parse_version_internal(value, expect):
"""Verify the behavior of _parse_version_internal()"""
Expand Down

0 comments on commit f591925

Please sign in to comment.