From 7717dc1aafd24e050483f1c1ad005ebda853f18a Mon Sep 17 00:00:00 2001 From: Anthony Li Date: Wed, 5 Nov 2014 09:42:38 +0800 Subject: [PATCH] delete unmeaningful macro --- .../python/import_packages/relativeimport2/runme3.py | 9 --------- Examples/test-suite/overload_polymorphic.i | 3 --- 2 files changed, 12 deletions(-) delete mode 100644 Examples/python/import_packages/relativeimport2/runme3.py diff --git a/Examples/python/import_packages/relativeimport2/runme3.py b/Examples/python/import_packages/relativeimport2/runme3.py deleted file mode 100644 index 4b0d112cf..000000000 --- a/Examples/python/import_packages/relativeimport2/runme3.py +++ /dev/null @@ -1,9 +0,0 @@ -# Test import of modules content from within __init__.py -print("Testing %module(package=...) + python 'import' in __init__.py") -import sys -if sys.version_info < (3, 0): - import py2.pkg2.bar - print(" Finished importing py2.pkg2.bar") -else: - import py3.pkg2.bar - print(" Finished importing py3.pkg2.bar") diff --git a/Examples/test-suite/overload_polymorphic.i b/Examples/test-suite/overload_polymorphic.i index 83e3cc257..a1f123b9d 100644 --- a/Examples/test-suite/overload_polymorphic.i +++ b/Examples/test-suite/overload_polymorphic.i @@ -1,7 +1,5 @@ %module overload_polymorphic -#ifndef SWIG_NO_OVERLOAD - %inline %{ class Base { @@ -22,4 +20,3 @@ int test(Base* base){ return 0;} int test(int hello){ return 1; } %} -#endif