diff --git a/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala b/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala index ded049a6942f6..40000ee7101b9 100644 --- a/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala +++ b/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala @@ -32,7 +32,8 @@ class PythonRunnerSuite extends FunSuite { assert(PythonRunner.formatPath("file:/C:/a/b/spark.py", testWindows = true) === "C:/a/b/spark.py") if (Utils.isWindows) { - assert(PythonRunner.formatPath("C:\\a\\b\\spark.py", testWindows = true) === "C:/a/b/spark.py") + assert(PythonRunner.formatPath("C:\\a\\b\\spark.py", testWindows = true) === + "C:/a/b/spark.py") assert(PythonRunner.formatPath("C:\\a b\\spark.py", testWindows = true) === "C:/a b/spark.py") } @@ -54,7 +55,8 @@ class PythonRunnerSuite extends FunSuite { Array("C:/a/b/spark.py")) assert(PythonRunner.formatPaths("C:\\free.py,pie.py", testWindows = true) === Array("C:/free.py", "pie.py")) - assert(PythonRunner.formatPaths("lovely.py,C:\\free.py,file:/d:/fry.py", testWindows = true) === + assert(PythonRunner.formatPaths("lovely.py,C:\\free.py,file:/d:/fry.py", + testWindows = true) === Array("lovely.py", "C:/free.py", "d:/fry.py")) } intercept[IllegalArgumentException] { PythonRunner.formatPaths("one:two,three") }