summaryrefslogtreecommitdiff
path: root/py/test/Ice/exceptions/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/test/Ice/exceptions/TestI.py')
-rw-r--r--py/test/Ice/exceptions/TestI.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/py/test/Ice/exceptions/TestI.py b/py/test/Ice/exceptions/TestI.py
index 08953a39bd5..be4d8c7e1f4 100644
--- a/py/test/Ice/exceptions/TestI.py
+++ b/py/test/Ice/exceptions/TestI.py
@@ -10,11 +10,8 @@
import Ice, Test
class ThrowerI(Test.Thrower):
- def __init__(self, adapter):
- self._adapter = adapter
-
def shutdown(self, current=None):
- self._adapter.getCommunicator().shutdown()
+ current.adapter.getCommunicator().shutdown()
def supportsUndeclaredExceptions(self, current=None):
return True