def testEndLineComments(self): testaroo = CountLines() newString = testaroo.stripOutLineComments('This is a //test of the JavaScript RegExp object') assert newString == 'This is a ' pass