fixes issue113 - assertion represenation issue

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-07-29 12:55:39 +02:00
parent 92bfb58798
commit efeae72509
4 changed files with 26 additions and 9 deletions

View File

@@ -176,6 +176,13 @@ class TestSourceParsingAndCompiling:
#x = s.deindent()
assert str(s) == ass
def test_getstatementrange_triple_quoted(self):
#print str(self.source)
source = Source("""'''
'''""")
s = source.getstatement(1)
assert eval(str(s))
def test_getstatementrange_within_constructs(self):
source = Source("""\
try: