From f080f8d118f00e4f27936d55e74d391bac690c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E5=B3=A4?= Date: Sat, 2 May 2015 22:00:12 +0800 Subject: [PATCH] update pep8 --- python/pyspark/sql/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/pyspark/sql/tests.py b/python/pyspark/sql/tests.py index edf9f95a8ce65..000dab99ea730 100644 --- a/python/pyspark/sql/tests.py +++ b/python/pyspark/sql/tests.py @@ -439,7 +439,9 @@ def test_rand_functions(self): assert row[1] >= -4.0 and row[1] <= 4.0, "got: %s" % row[1] def test_between_function(self): - df = self.sqlCtx.parallelize([Row(a=1, b=2, c=3), Row(a=2, b=1, c=3), Row(a=4, b=1, c=4)]).toDF() + df = self.sqlCtx.parallelize([Row(a=1, b=2, c=3), + Row(a=2, b=1, c=3), + Row(a=4, b=1, c=4)]).toDF() self.assertEqual([False, True, True], df.select(df.a.between(df.b, df.c)).collect())