summaryrefslogtreecommitdiff
path: root/python/test/Ice/exceptions/TestI.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-09-25 17:26:36 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-09-25 17:46:22 +0200
commit4058ada173f6e868e70a667078f5a770ae8efa7c (patch)
tree5ecc854afb72d695589e83df666a080a58681ad9 /python/test/Ice/exceptions/TestI.py
parentUpdate .NET Core default target framework to .netcoreapp3.0 (diff)
downloadice-4058ada173f6e868e70a667078f5a770ae8efa7c.tar.bz2
ice-4058ada173f6e868e70a667078f5a770ae8efa7c.tar.xz
ice-4058ada173f6e868e70a667078f5a770ae8efa7c.zip
Fixed Python bug related to invalid return parameters, fixes #550
Diffstat (limited to 'python/test/Ice/exceptions/TestI.py')
-rw-r--r--python/test/Ice/exceptions/TestI.py6
1 files changed, 6 insertions, 0 deletions
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, "")