Commit dd15ea76 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Applied pep8

parent c8ecf708
......@@ -340,7 +340,10 @@ class TestLine(unittest.TestCase):
def test_preprocess_str_exp(self):
root = N('-', L(1))
def addbrackets(self): self[0] = N('[]', self[0])
def addbrackets(self):
self[0] = N('[]', self[0])
root.preprocess_str_exp = new.instancemethod(addbrackets, root)
self.assertEquals(generate_line(root), '-[1]')
......@@ -356,4 +359,3 @@ class TestLine(unittest.TestCase):
root = N('*', N('*', L(2), L('b')), -N('*', L(3), L('b')))
self.assertEquals(generate_line(root), '2b * -3b')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment