We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9acf045 commit 9bfcd1eCopy full SHA for 9bfcd1e
maths/test_abs.py
@@ -120,7 +120,9 @@ def test_single_element(self):
120
121
def test_empty_list(self):
122
"""Test abs_max_sort with empty list."""
123
- with pytest.raises(ValueError, match="abs_max_sort\\(\\) arg is an empty sequence"):
+ with pytest.raises(
124
+ ValueError, match="abs_max_sort\\(\\) arg is an empty sequence"
125
+ ):
126
abs_max_sort([])
127
128
def test_consistency_with_abs_max(self):
@@ -132,7 +134,7 @@ def test_consistency_with_abs_max(self):
132
134
[0, 5, 1, 11],
133
135
[-3, -1, 2, -11],
136
[42],
- [-42]
137
+ [-42],
138
]
139
140
for test_case in test_cases:
0 commit comments