Skip to content

Commit 6572ae4

Browse files
committed
style changes for linter
1 parent d0f20f4 commit 6572ae4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/tests/reshape/test_tile.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -211,18 +211,19 @@ def test_cut_pass_labels(self):
211211

212212
result = cut(arr, bins, labels=labels)
213213
exp = Categorical(['Medium'] + 4 * ['Small'] + ['Medium', 'Large'],
214-
categories=labels,
214+
categories=labels,
215215
ordered=True)
216216
tm.assert_categorical_equal(result, exp)
217217

218218
result = cut(arr, bins, labels=Categorical.from_codes([0, 1, 2],
219219
labels))
220220
exp = Categorical.from_codes([1] + 4 * [0] + [1, 2], labels)
221-
tm.assert_categorical_equal(result, exp)
221+
tm.assert_categorical_equal(result, exp)
222222

223223
labels = ['Good', 'Medium', 'Bad']
224224
result = cut(arr, 3, labels=labels)
225-
exp = cut(arr, 3, labels=Categorical(labels, categories=labels, ordered=True))
225+
exp = cut(arr, 3, labels=Categorical(labels, categories=labels,
226+
ordered=True))
226227
tm.assert_categorical_equal(result, exp)
227228

228229
def test_qcut_include_lowest(self):

0 commit comments

Comments
 (0)