aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-05-21 23:48:59 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-05-21 23:48:59 -0300
commit01980e44337d8ca8f52154afb4b1faf57f36d1f8 (patch)
tree81e89c0e6c55039cb32d7348c1f70aa147eb3be7 /scripts
parentremoved print sys.path from scripts/run_tests.py (diff)
downloadg-octave-01980e44337d8ca8f52154afb4b1faf57f36d1f8.tar.gz
g-octave-01980e44337d8ca8f52154afb4b1faf57f36d1f8.tar.bz2
g-octave-01980e44337d8ca8f52154afb4b1faf57f36d1f8.zip
added missing '-' at scripts/run_tests.py
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_tests.py b/scripts/run_tests.py
index ef91d04..b9a048b 100755
--- a/scripts/run_tests.py
+++ b/scripts/run_tests.py
@@ -32,7 +32,7 @@ for f in os.listdir(tests_dir):
if not f.endswith('.py'):
continue
try:
- my_test = __import__(f[:len('.py')])
+ my_test = __import__(f[:-len('.py')])
except ImportError:
continue