Github user mpjlu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18068#discussion_r117912054
  
    --- Diff: python/pyspark/ml/tests.py ---
    @@ -1075,7 +1076,8 @@ def test_linear_regression_summary(self):
             pValues = s.pValues
             self.assertTrue(isinstance(pValues, list) and 
isinstance(pValues[0], float))
             # test evaluation (with training dataset) produces a summary with 
same values
    -        # one check is enough to verify a summary is returned, Scala 
version runs full test
    +        # one check is enough to verify a summary is returned
    +        # The child class LinearRegressionTrainingSummary runs full test
    --- End diff --
    
    I think this is not because Scala version runs full test. Even Scala 
version runs full test, we still need the function call test.
    If a child class have done the function call test, we don't need to test 
parent class again.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to