#NEWLINE# def test_noOffsetSyntaxErrorInDoctest( self ) : #NEWLINE# #INDENT# exceptions = self . flakes ( '\n            def buildurl(base, *args, **kwargs):\n                """\n                >>> buildurl(\'/blah.php\', (\'a\', \'&\'), (\'b\', \'=\')\n                \'/blah.php?a=%26&b=%3D\'\n                >>> buildurl(\'/blah.php\', a=\'&\', \'b\'=\'=\')\n                \'/blah.php?b=%3D&a=%26\'\n                """\n                pass\n            ' , m . DoctestSyntaxError , m . DoctestSyntaxError ) . messages #NEWLINE# exc = exceptions [ 0 ] #NEWLINE# self . assertEqual ( exc . lineno , 4 ) #NEWLINE# exc = exceptions [ 1 ] #NEWLINE# self . assertEqual ( exc . lineno , 6 )