diff options
author | Jose <jose@zeroc.com> | 2019-06-06 19:24:20 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-06 19:24:20 +0200 |
commit | 2dc0a8799e913bb37db8c5895f00f4dda920df62 (patch) | |
tree | 6dd9fe720314d92fecedb703132c5cf73082ca3f /python/test/Ice/operations/TestI.py | |
parent | Do not set WindowsTargetPlatformVersion, use the default (diff) | |
download | ice-2dc0a8799e913bb37db8c5895f00f4dda920df62.tar.bz2 ice-2dc0a8799e913bb37db8c5895f00f4dda920df62.tar.xz ice-2dc0a8799e913bb37db8c5895f00f4dda920df62.zip |
Fix Incorrect generated code for class implements interface
Close #406
Diffstat (limited to 'python/test/Ice/operations/TestI.py')
-rw-r--r-- | python/test/Ice/operations/TestI.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/python/test/Ice/operations/TestI.py b/python/test/Ice/operations/TestI.py index fc1d3e8bb1e..287985df157 100644 --- a/python/test/Ice/operations/TestI.py +++ b/python/test/Ice/operations/TestI.py @@ -2,12 +2,22 @@ # Copyright (c) ZeroC, Inc. All rights reserved. # -import Ice, Test, sys, threading +import Ice, Test, M, sys, threading def test(b): if not b: raise RuntimeError('test assertion failed') + +class BI(M.BDisp): + + def opB(self, current=None): + pass + + def opIntf(self, current=None): + pass + + class MyDerivedClassI(Test.MyDerivedClass): def __init__(self): self.lock = threading.Lock() |