diff options
Diffstat (limited to 'test/pygen.py')
-rw-r--r-- | test/pygen.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/pygen.py b/test/pygen.py index 4f3da8e..de813b7 100644 --- a/test/pygen.py +++ b/test/pygen.py @@ -114,7 +114,15 @@ and more block. printer = PythonPrinter(stream) printer.print_adjusted_line(block) printer.close() - print stream.getvalue() + assert stream.getvalue() == \ +""" + # comment +if test: + if (lala + hoho) + \\ +(foobar + blat) == 5: + print "hi" +print "more indent" +""" if __name__ == '__main__': unittest.main() |