def testIndex(self):
    'StringStream.index()'
    stream = antlr3.StringStream('foo')
    self.failUnlessEqual(stream.index(), 0)
StringStream.index()
def testIndex(self):
    
    stream = antlr3.StringStream('foo')
    self.failUnlessEqual(stream.index(), 0)