12 lines
206 B
Python
12 lines
206 B
Python
#Test: http://bugs.jython.org/issue2634
|
|
|
|
|
|
class TestDev(DeviceBase):
|
|
def doSomething(self):
|
|
self.setCache("VALUE", -1)
|
|
|
|
|
|
dev = TestDev("Test")
|
|
dev.initialize()
|
|
dev.doSomething()
|
|
print dev.take() |