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
|
|
@ -2,33 +2,32 @@ from using_composition import *
|
|||
|
||||
f = FooBar()
|
||||
if f.blah(3) != 3:
|
||||
raise RuntimeError,"FooBar::blah(int)"
|
||||
raise RuntimeError, "FooBar::blah(int)"
|
||||
|
||||
if f.blah(3.5) != 3.5:
|
||||
raise RuntimeError,"FooBar::blah(double)"
|
||||
raise RuntimeError, "FooBar::blah(double)"
|
||||
|
||||
if f.blah("hello") != "hello":
|
||||
raise RuntimeError,"FooBar::blah(char *)"
|
||||
raise RuntimeError, "FooBar::blah(char *)"
|
||||
|
||||
|
||||
f = FooBar2()
|
||||
if f.blah(3) != 3:
|
||||
raise RuntimeError,"FooBar2::blah(int)"
|
||||
raise RuntimeError, "FooBar2::blah(int)"
|
||||
|
||||
if f.blah(3.5) != 3.5:
|
||||
raise RuntimeError,"FooBar2::blah(double)"
|
||||
raise RuntimeError, "FooBar2::blah(double)"
|
||||
|
||||
if f.blah("hello") != "hello":
|
||||
raise RuntimeError,"FooBar2::blah(char *)"
|
||||
raise RuntimeError, "FooBar2::blah(char *)"
|
||||
|
||||
|
||||
f = FooBar3()
|
||||
if f.blah(3) != 3:
|
||||
raise RuntimeError,"FooBar3::blah(int)"
|
||||
raise RuntimeError, "FooBar3::blah(int)"
|
||||
|
||||
if f.blah(3.5) != 3.5:
|
||||
raise RuntimeError,"FooBar3::blah(double)"
|
||||
raise RuntimeError, "FooBar3::blah(double)"
|
||||
|
||||
if f.blah("hello") != "hello":
|
||||
raise RuntimeError,"FooBar3::blah(char *)"
|
||||
|
||||
raise RuntimeError, "FooBar3::blah(char *)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue