From 185ab43d477914e2404eb87f7e75373d58f6c5e6 Mon Sep 17 00:00:00 2001 From: economy Date: Fri, 26 May 2017 11:03:24 -0700 Subject: [PATCH] style changes for linter --- pandas/tests/reshape/test_tile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pandas/tests/reshape/test_tile.py b/pandas/tests/reshape/test_tile.py index 4da7944fc59480..0222ed277c364d 100644 --- a/pandas/tests/reshape/test_tile.py +++ b/pandas/tests/reshape/test_tile.py @@ -211,18 +211,19 @@ def test_cut_pass_labels(self): result = cut(arr, bins, labels=labels) exp = Categorical(['Medium'] + 4 * ['Small'] + ['Medium', 'Large'], - categories=labels, + categories=labels, ordered=True) tm.assert_categorical_equal(result, exp) result = cut(arr, bins, labels=Categorical.from_codes([0, 1, 2], labels)) exp = Categorical.from_codes([1] + 4 * [0] + [1, 2], labels) - tm.assert_categorical_equal(result, exp) + tm.assert_categorical_equal(result, exp) labels = ['Good', 'Medium', 'Bad'] result = cut(arr, 3, labels=labels) - exp = cut(arr, 3, labels=Categorical(labels, categories=labels, ordered=True)) + exp = cut(arr, 3, labels=Categorical(labels, categories=labels, + ordered=True)) tm.assert_categorical_equal(result, exp) def test_qcut_include_lowest(self):