Skip to content
Snippets Groups Projects
Commit dd15ea76 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Applied pep8

parent c8ecf708
No related branches found
No related tags found
No related merge requests found
......@@ -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')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment