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
|
|
@ -5,25 +5,25 @@ i = virtual_poly.NInt(2)
|
|||
|
||||
#
|
||||
# the copy methods return the right polymorphic types
|
||||
#
|
||||
#
|
||||
dc = d.copy()
|
||||
ic = i.copy()
|
||||
|
||||
if d.get() != dc.get():
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
if i.get() != ic.get():
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
virtual_poly.incr(ic)
|
||||
|
||||
if (i.get() + 1) != ic.get():
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
dr = d.ref_this()
|
||||
if d.get() != dr.get():
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
#
|
||||
|
|
@ -31,8 +31,8 @@ if d.get() != dr.get():
|
|||
#
|
||||
ddc = virtual_poly.NDouble_narrow(d.nnumber())
|
||||
if d.get() != ddc.get():
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
dic = virtual_poly.NInt_narrow(i.nnumber())
|
||||
if i.get() != dic.get():
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue