[py-dev] New issue 113 in py-trunk: SyntaxError when an assert fails and a triple-quoted string spans lines

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Fri Jul 23 18:04:41 CEST 2010


--- you can reply above this line ---

New issue 113: SyntaxError when an assert fails and a triple-quoted string spans lines
http://bitbucket.org/hpk42/py-trunk/issue/113/syntaxerror-when-an-assert-fails-and-a-triple-quoted-string-spans

Anonymous on Fri, 23 Jul 2010 18:04:40 +0200:

Description:
  {{{
#!python

def test_break_pytest():
    """
    py.test gives "SyntaxError: EOF while scanning triple-quoted string literal" when an assert fails and a triple-quoted string spans lines
    NB. this does not occur when the the assert succeeds
    """
    assert "" == """
"""

}}}


-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.



More information about the Pytest-dev mailing list