From 8c6dd4c65736894e369fecd18aa15c1bfe1781b9 Mon Sep 17 00:00:00 2001 From: jschendel Date: Mon, 20 Nov 2017 12:42:23 -0700 Subject: [PATCH] pep8 --- pandas/tests/test_categorical.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pandas/tests/test_categorical.py b/pandas/tests/test_categorical.py index c4caa499e72428..ab865433952dc1 100644 --- a/pandas/tests/test_categorical.py +++ b/pandas/tests/test_categorical.py @@ -2245,14 +2245,14 @@ def test_empty_astype(self, columns): def test_construction_series(self): - l = [1, 2, 3, 1] - exp = Series(l).astype('category') - res = Series(l, dtype='category') + data = [1, 2, 3, 1] + exp = Series(data).astype('category') + res = Series(data, dtype='category') tm.assert_series_equal(res, exp) - l = ["a", "b", "c", "a"] - exp = Series(l).astype('category') - res = Series(l, dtype='category') + data = ["a", "b", "c", "a"] + exp = Series(data).astype('category') + res = Series(data, dtype='category') tm.assert_series_equal(res, exp) # insert into frame with different index