fix bug for functions with no return values and with one return value (#211)

This commit is contained in:
Robert Nishihara
2016-07-05 15:57:05 -07:00
committed by Philipp Moritz
parent 529e86ce64
commit 0947024ad9
4 changed files with 82 additions and 8 deletions
+4
View File
@@ -23,3 +23,7 @@ def dot(a, b):
@ray.remote([], [])
def throw_exception():
raise Exception("This function intentionally failed.")
@ray.remote([], [])
def no_op():
pass