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

    https://github.com/apache/spark/pull/2646#discussion_r18426715
  
    --- Diff: python/pyspark/tests.py ---
    @@ -754,27 +756,19 @@ def test_serialize_nested_array_and_map(self):
             self.assertEqual("2", row.d)
     
     
    -class TestIO(PySparkTestCase):
    -
    -    def test_stdout_redirection(self):
    -        import subprocess
    -
    -        def func(x):
    -            subprocess.check_call('ls', shell=True)
    -        self.sc.parallelize([1]).foreach(func)
    --- End diff --
    
    Yeah, it looks like this test was added in 
57b64d0d1902eb51bf79f595626c2b9f80a9d1e2 (part of the original PySpark PR) but 
I don't remember what it was for and agree that it's weird as written.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to