summaryrefslogtreecommitdiffstats
path: root/test/SWIG/remove-modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/SWIG/remove-modules.py')
-rw-r--r--test/SWIG/remove-modules.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/SWIG/remove-modules.py b/test/SWIG/remove-modules.py
index 8ed24ef..964970b 100644
--- a/test/SWIG/remove-modules.py
+++ b/test/SWIG/remove-modules.py
@@ -71,11 +71,6 @@ foo = Environment(SWIGFLAGS='-python',
LIBS='%(python_lib)s',
)
-import sys
-if sys.version[0] == '1':
- # SWIG requires the -classic flag on pre-2.0 Python versions.
- foo.Append(SWIGFLAGS = ' -classic')
-
foo.LoadableModule(target = 'modulename', source = ['module.i'])
""" % locals())