summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2007-10-29 14:37:37 +0000
committerJarrod Millman <millman@berkeley.edu>2007-10-29 14:37:37 +0000
commit06b316521a47470e0cce864e142c9372d14637dc (patch)
treef7a0867626c44d1f5f83fc8a6e884c9f2d24884c /numpy/f2py/tests
parent3cb37bbdb4bdf773b7bc0098b8d0cf940288a883 (diff)
downloadnumpy-06b316521a47470e0cce864e142c9372d14637dc.tar.gz
using faster string methods rather than deprecated string module
Diffstat (limited to 'numpy/f2py/tests')
-rw-r--r--numpy/f2py/tests/mixed/run.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/f2py/tests/mixed/run.py b/numpy/f2py/tests/mixed/run.py
index 6f4b7d444..8dbbf21f2 100644
--- a/numpy/f2py/tests/mixed/run.py
+++ b/numpy/f2py/tests/mixed/run.py
@@ -8,7 +8,6 @@ Examples:
import os
import sys
-import string
import f2py2e
from Numeric import array
@@ -19,7 +18,7 @@ def build(f2py_opts):
d,b=os.path.split(sys.argv[0])
files = ['foo.f','foo_fixed.f90','foo_free.f90']
files = [os.path.join(d,f) for f in files]
- files = string.join(files)
+ files = ' '.join(files)
args = ' -c -m mixed_f77_f90 %s %s'%(files,f2py_opts)
c = '%s -c "import f2py2e;f2py2e.main()" %s' %(sys.executable,args)
s = os.system(c)