autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
This commit is contained in:
parent
9086eb351c
commit
b77f3afafb
202 changed files with 3477 additions and 3382 deletions
|
|
@ -1,8 +1,9 @@
|
|||
import li_std_vector_enum
|
||||
|
||||
|
||||
def check(a, b):
|
||||
if (a != b):
|
||||
raise RuntimeError("Not equal: ", a, b)
|
||||
if (a != b):
|
||||
raise RuntimeError("Not equal: ", a, b)
|
||||
|
||||
ev = li_std_vector_enum.EnumVector()
|
||||
|
||||
|
|
@ -17,8 +18,7 @@ it.next()
|
|||
v = it.value()
|
||||
check(v, 20)
|
||||
|
||||
expected = 10
|
||||
expected = 10
|
||||
for val in ev.nums:
|
||||
check(val, expected)
|
||||
expected += 10
|
||||
|
||||
check(val, expected)
|
||||
expected += 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue