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,10 +1,14 @@
|
|||
from director_finalizer import *
|
||||
|
||||
|
||||
class MyFoo(Foo):
|
||||
def __del__(self):
|
||||
self.orStatus(2)
|
||||
try: Foo.__del__(self)
|
||||
except: pass
|
||||
|
||||
def __del__(self):
|
||||
self.orStatus(2)
|
||||
try:
|
||||
Foo.__del__(self)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
resetStatus()
|
||||
|
|
@ -13,7 +17,7 @@ a = MyFoo()
|
|||
del a
|
||||
|
||||
if getStatus() != 3:
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
resetStatus()
|
||||
|
||||
|
|
@ -21,12 +25,12 @@ a = MyFoo()
|
|||
launder(a)
|
||||
|
||||
if getStatus() != 0:
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
del a
|
||||
|
||||
if getStatus() != 3:
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
resetStatus()
|
||||
|
||||
|
|
@ -34,15 +38,14 @@ a = MyFoo().__disown__()
|
|||
deleteFoo(a)
|
||||
|
||||
if getStatus() != 3:
|
||||
raise RuntimeError
|
||||
|
||||
raise RuntimeError
|
||||
|
||||
resetStatus()
|
||||
|
||||
a = MyFoo().__disown__()
|
||||
deleteFoo(launder(a))
|
||||
|
||||
if getStatus() != 3:
|
||||
raise RuntimeError
|
||||
|
||||
resetStatus()
|
||||
raise RuntimeError
|
||||
|
||||
resetStatus()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue