Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/23037
  
    When I tried to write automated tests for pyspark in the past it was kind 
of a pain. It doesn't work the way you expect unless you have a 
pseudo-terminal, apparently.
    
    Maybe try to write a test script around it using `pty.spawn` or `pty.fork`. 
But to be frank, that sounds more complicated than it's worth...


---

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

Reply via email to