Skip to content

Commit 9bfcd1e

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

maths/test_abs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ def test_single_element(self):
120120

121121
def test_empty_list(self):
122122
"""Test abs_max_sort with empty list."""
123-
with pytest.raises(ValueError, match="abs_max_sort\\(\\) arg is an empty sequence"):
123+
with pytest.raises(
124+
ValueError, match="abs_max_sort\\(\\) arg is an empty sequence"
125+
):
124126
abs_max_sort([])
125127

126128
def test_consistency_with_abs_max(self):
@@ -132,7 +134,7 @@ def test_consistency_with_abs_max(self):
132134
[0, 5, 1, 11],
133135
[-3, -1, 2, -11],
134136
[42],
135-
[-42]
137+
[-42],
136138
]
137139

138140
for test_case in test_cases:

0 commit comments

Comments
 (0)