summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/python_pythoncode_runme.py
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2018-12-20 08:05:54 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2018-12-20 08:10:35 +0000
commit6e2b54be2f127ac03b5c23557bfd0037f362b46c (patch)
tree6ad7ab7cf9d3a3c38bcf057e1e088b81590545f4 /Examples/test-suite/python/python_pythoncode_runme.py
parent3208ff2bf54f523da3b0fd849df3cf7e686771fa (diff)
downloadswig-6e2b54be2f127ac03b5c23557bfd0037f362b46c.tar.gz
Testcase for testing __new__ override Python 3.6 fix
Issue #1357
Diffstat (limited to 'Examples/test-suite/python/python_pythoncode_runme.py')
-rw-r--r--Examples/test-suite/python/python_pythoncode_runme.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/test-suite/python/python_pythoncode_runme.py b/Examples/test-suite/python/python_pythoncode_runme.py
index da238780d..c27f4452d 100644
--- a/Examples/test-suite/python/python_pythoncode_runme.py
+++ b/Examples/test-suite/python/python_pythoncode_runme.py
@@ -3,3 +3,7 @@ import python_pythoncode
# No need to actually do anything, this is a regression test for a bug which
# caused an invalid python_pythoncode.py to be generated, so if we can import
# it the bug is still fixed.
+
+# A later test enhancement checking __new__ requires some code...
+f = python_pythoncode.get_foo()
+f = python_pythoncode.Foo()