summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/complextest_runme.py
diff options
context:
space:
mode:
authorJon Schlueter <jschlueter@navigationsolutions.com>2015-05-06 08:27:35 -0400
committerJon Schlueter <jon.schlueter@gmail.com>2015-05-08 21:35:52 -0400
commitb77f3afafbce63a6ef595aea851213b635739fb6 (patch)
treebfeb27390dbbbd893426822e592e5f7d3a22094d /Examples/test-suite/python/complextest_runme.py
parent9086eb351ce1d158d9b66d707d3fcb48e447b382 (diff)
downloadswig-b77f3afafbce63a6ef595aea851213b635739fb6.tar.gz
autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
Diffstat (limited to 'Examples/test-suite/python/complextest_runme.py')
-rw-r--r--Examples/test-suite/python/complextest_runme.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Examples/test-suite/python/complextest_runme.py b/Examples/test-suite/python/complextest_runme.py
index cc2463a39..7dd7f5a3b 100644
--- a/Examples/test-suite/python/complextest_runme.py
+++ b/Examples/test-suite/python/complextest_runme.py
@@ -1,17 +1,17 @@
import complextest
-a = complex(-1,2)
+a = complex(-1, 2)
if complextest.Conj(a) != a.conjugate():
- raise RuntimeError, "bad complex mapping"
+ raise RuntimeError, "bad complex mapping"
if complextest.Conjf(a) != a.conjugate():
- raise RuntimeError, "bad complex mapping"
+ raise RuntimeError, "bad complex mapping"
-v = (complex(1,2), complex(2,3), complex(4,3), 1)
+v = (complex(1, 2), complex(2, 3), complex(4, 3), 1)
try:
- complextest.Copy_h(v)
+ complextest.Copy_h(v)
except:
- pass
+ pass