Support calling positional arguments by keyword (fix #998) (#2081)

This commit is contained in:
Adam Gleave
2018-05-17 16:10:26 -07:00
committed by Robert Nishihara
parent afbb260ca4
commit 470887c2ad
4 changed files with 47 additions and 40 deletions
-10
View File
@@ -68,16 +68,6 @@ try:
except Exception:
kwargs_exception_thrown = True
try:
@ray.remote
def varargs_and_kwargs_throw_exception(a, b="hi", *c):
return "{} {} {}".format(a, b, c)
varargs_and_kwargs_exception_thrown = False
except Exception:
varargs_and_kwargs_exception_thrown = True
# test throwing an exception