-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
- Loading branch information
Showing
202 changed files
with
3,496 additions
and
3,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
|
||
d = abstract_access.D() | ||
if d.do_x() != 1: | ||
raise RuntimeError | ||
|
||
raise RuntimeError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
from abstract_typedef2 import * | ||
from abstract_typedef2 import * | ||
|
||
a = A_UF() | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from abstract_typedef import * | ||
from abstract_typedef import * | ||
e = Engine() | ||
|
||
a = A() | ||
|
||
|
||
if a.write(e) != 1: | ||
raise RuntimeError | ||
|
||
|
||
|
||
if a.write(e) != 1: | ||
raise RuntimeError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
from argcargvtest import * | ||
|
||
largs=['hi','hola','hello'] | ||
largs = ['hi', 'hola', 'hello'] | ||
if mainc(largs) != 3: | ||
raise RuntimeError("bad main typemap") | ||
raise RuntimeError("bad main typemap") | ||
|
||
targs=('hi','hola') | ||
if mainv(targs,1) != 'hola': | ||
print(mainv(targs,1)) | ||
raise RuntimeError("bad main typemap") | ||
targs = ('hi', 'hola') | ||
if mainv(targs, 1) != 'hola': | ||
print(mainv(targs, 1)) | ||
raise RuntimeError("bad main typemap") | ||
|
||
targs=('hi', 'hola') | ||
if mainv(targs,1) != 'hola': | ||
raise RuntimeError("bad main typemap") | ||
targs = ('hi', 'hola') | ||
if mainv(targs, 1) != 'hola': | ||
raise RuntimeError("bad main typemap") | ||
|
||
try: | ||
error = 0 | ||
mainv('hello',1) | ||
error = 1 | ||
error = 0 | ||
mainv('hello', 1) | ||
error = 1 | ||
except TypeError: | ||
pass | ||
pass | ||
if error: | ||
raise RuntimeError("bad main typemap") | ||
|
||
raise RuntimeError("bad main typemap") | ||
|
||
|
||
initializeApp(largs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.