diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index 76cecc0..f86fe26 100644
a
|
b
|
class AdminScriptTestCase(unittest.TestCase):
|
109 | 109 | executable = sys.executable |
110 | 110 | arg_string = ' '.join(['%s' % arg for arg in args]) |
111 | 111 | if ' ' in executable: |
112 | | cmd = '""%s" "%s" %s"' % (executable, script, arg_string) |
| 112 | cmd = '""%s" -W all::ImportWarning "%s" %s"' % (executable, script, arg_string) |
113 | 113 | else: |
114 | | cmd = '%s "%s" %s' % (executable, script, arg_string) |
| 114 | cmd = '%s -W all::ImportWarning "%s" %s' % (executable, script, arg_string) |
115 | 115 | |
116 | 116 | # Move to the test directory and run |
117 | 117 | os.chdir(test_dir) |