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
|
|
@ -3,15 +3,15 @@ from li_std_auto_ptr import *
|
|||
k1 = makeKlassAutoPtr("first")
|
||||
k2 = makeKlassAutoPtr("second")
|
||||
if Klass_getTotal_count() != 2:
|
||||
raise "number of objects should be 2"
|
||||
raise "number of objects should be 2"
|
||||
|
||||
del k1
|
||||
if Klass_getTotal_count() != 1:
|
||||
raise "number of objects should be 1"
|
||||
raise "number of objects should be 1"
|
||||
|
||||
if k2.getLabel() != "second":
|
||||
raise "wrong object label"
|
||||
raise "wrong object label"
|
||||
|
||||
del k2
|
||||
if Klass_getTotal_count() != 0:
|
||||
raise "no objects should be left"
|
||||
raise "no objects should be left"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue