diff options
author | Dmitry D. Chernov <blackdoomer@yandex.ru> | 2019-07-14 12:58:21 +1000 |
---|---|---|
committer | Dmitry D. Chernov <blackdoomer@yandex.ru> | 2019-07-14 12:58:21 +1000 |
commit | fa5f519bf9842b523a12cab0bc20f836d8a8a903 (patch) | |
tree | 19356226c42d3ece93024fa4a80597ee25bc531e /Examples/test-suite/python/template_typedef_cplx2_runme.py | |
parent | c4ad3480bdae23239d7feeaa10e8755133ff20b4 (diff) | |
download | swig-fa5f519bf9842b523a12cab0bc20f836d8a8a903.tar.gz |
Test-suite: Unify string quoting in the Python sources
Diffstat (limited to 'Examples/test-suite/python/template_typedef_cplx2_runme.py')
-rw-r--r-- | Examples/test-suite/python/template_typedef_cplx2_runme.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Examples/test-suite/python/template_typedef_cplx2_runme.py b/Examples/test-suite/python/template_typedef_cplx2_runme.py index 3043d4285..161bd51fc 100644 --- a/Examples/test-suite/python/template_typedef_cplx2_runme.py +++ b/Examples/test-suite/python/template_typedef_cplx2_runme.py @@ -11,8 +11,8 @@ except: print d, "is not an instance" raise RuntimeError -s = '%s' % d -if str.find(s, 'ArithUnaryFunction') == -1: +s = "%s" % d +if str.find(s, "ArithUnaryFunction") == -1: print d, "is not an ArithUnaryFunction" raise RuntimeError @@ -23,8 +23,8 @@ except: print e, "is not an instance" raise RuntimeError -s = '%s' % e -if str.find(s, 'ArithUnaryFunction') == -1: +s = "%s" % e +if str.find(s, "ArithUnaryFunction") == -1: print e, "is not an ArithUnaryFunction" raise RuntimeError @@ -40,8 +40,8 @@ except: print c, "is not an instance" raise RuntimeError -s = '%s' % c -if str.find(s, 'ArithUnaryFunction') == -1: +s = "%s" % c +if str.find(s, "ArithUnaryFunction") == -1: print c, "is not an ArithUnaryFunction" raise RuntimeError @@ -52,8 +52,8 @@ except: print f, "is not an instance" raise RuntimeError -s = '%s' % f -if str.find(s, 'ArithUnaryFunction') == -1: +s = "%s" % f +if str.find(s, "ArithUnaryFunction") == -1: print f, "is not an ArithUnaryFunction" raise RuntimeError @@ -68,8 +68,8 @@ except: print g, "is not an instance" raise RuntimeError -s = '%s' % g -if str.find(s, 'ArithUnaryFunction') == -1: +s = "%s" % g +if str.find(s, "ArithUnaryFunction") == -1: print g, "is not an ArithUnaryFunction" raise RuntimeError @@ -81,8 +81,8 @@ except: print h, "is not an instance" raise RuntimeError -s = '%s' % h -if str.find(s, 'ArithUnaryFunction') == -1: +s = "%s" % h +if str.find(s, "ArithUnaryFunction") == -1: print h, "is not an ArithUnaryFunction" raise RuntimeError |