Skip to content

Commit

Permalink
Fix testing with Python3 (apache#424)
Browse files Browse the repository at this point in the history
Fix print statement in tests to be Python 2 and Python 3 compatible. apache#408
  • Loading branch information
mvanderlee authored and jimenefe committed Oct 14, 2024
1 parent 640a7aa commit f892bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BatchServletSpec extends BaseSessionServletSpec[BatchSession, BatchRecover
try {
writer.write(
"""
|print "hello world"
|print("hello world")
""".stripMargin)
} finally {
writer.close()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class BatchSessionSpec
try {
writer.write(
"""
|print "hello world"
|print("hello world")
""".stripMargin)
} finally {
writer.close()
Expand Down

0 comments on commit f892bf3

Please sign in to comment.