From 4058ada173f6e868e70a667078f5a770ae8efa7c Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 25 Sep 2019 17:26:36 +0200 Subject: Fixed Python bug related to invalid return parameters, fixes #550 --- python/test/Ice/exceptions/TestI.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python/test/Ice/exceptions/TestI.py') diff --git a/python/test/Ice/exceptions/TestI.py b/python/test/Ice/exceptions/TestI.py index d4ea54c5df1..65860b6cad6 100644 --- a/python/test/Ice/exceptions/TestI.py +++ b/python/test/Ice/exceptions/TestI.py @@ -101,3 +101,9 @@ class ThrowerI(Test.Thrower): # Only relevant for AMD. # raise Test.A() + + def throwMarshalException(self, current): + if "return" in current.ctx: + return ("", 0) + if "param" in current.ctx: + return (0, "") -- cgit v1.2.3