Skip to content

Commit

Permalink
[SPARK-7427] [PySpark] Make sharedParams match in Scala, Python
Browse files Browse the repository at this point in the history
  • Loading branch information
gweidner committed May 10, 2015
1 parent 825e4a9 commit db72e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/ml/tests.py
Expand Up @@ -128,7 +128,7 @@ def test_param(self):
testParams = TestParams()
maxIter = testParams.maxIter
self.assertEqual(maxIter.name, "maxIter")
self.assertEqual(maxIter.doc, "max number of iterations")
self.assertEqual(maxIter.doc, "max number of iterations (>= 0)")
self.assertTrue(maxIter.parent is testParams)

def test_params(self):
Expand Down Expand Up @@ -156,7 +156,7 @@ def test_params(self):
self.assertEquals(
testParams.explainParams(),
"\n".join(["inputCol: input column name (undefined)",
"maxIter: max number of iterations (default: 10, current: 100)"]))
"maxIter: max number of iterations (>= 0) (default: 10, current: 100)"]))


if __name__ == "__main__":
Expand Down

0 comments on commit db72e32

Please sign in to comment.