diff options
author | Alan McIntyre <alan.mcintyre@local> | 2008-07-18 13:00:29 +0000 |
---|---|---|
committer | Alan McIntyre <alan.mcintyre@local> | 2008-07-18 13:00:29 +0000 |
commit | f3bef65f681d7a845a699071a0b11f3e5d68fea5 (patch) | |
tree | 788d20c6f4cc3a02afb3e59734140019977b27aa /numpy/testing/nosetester.py | |
parent | 3e4f726759a8fef08887c8152c051e04995f3a42 (diff) | |
download | numpy-f3bef65f681d7a845a699071a0b11f3e5d68fea5.tar.gz |
Comment cleanup.
Fixed __import__ calls for Python 2.4 (__import__ doesn't take keyword args in 2.4).
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r-- | numpy/testing/nosetester.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py index 0c54a8b64..d4a98fa78 100644 --- a/numpy/testing/nosetester.py +++ b/numpy/testing/nosetester.py @@ -236,7 +236,7 @@ class NoseTester(object): from noseclasses import numpyDoctest plugins = [numpyDoctest(), ] for m, p in nose.plugins.builtin.builtins: - mod = __import__(m,fromlist=[p]) + mod = __import__(m,globals(),{},[p]) plug = getattr(mod, p) plugins.append(plug()) |