summaryrefslogtreecommitdiffstats
path: root/test/SWIG/subdir.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/SWIG/subdir.py')
-rw-r--r--test/SWIG/subdir.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/SWIG/subdir.py b/test/SWIG/subdir.py
index d4798f6..0b9f24d 100644
--- a/test/SWIG/subdir.py
+++ b/test/SWIG/subdir.py
@@ -68,11 +68,6 @@ env = 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.
- env.Append(SWIGFLAGS = ' -classic')
-
env.LoadableModule('sub/_foo',
['sub/foo.i', 'sub/foo.c'],
LDMODULEPREFIX='')