Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #21092 -- Ensured admin_scripts tests are run with warnings off

  • Loading branch information...
commit b787ef2dbff957c5b5a64be13f01f985d17ff05b 1 parent 56c80e8
@claudep claudep authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/admin_scripts/tests.py
View
1  tests/admin_scripts/tests.py
@@ -139,6 +139,7 @@ def run_test(self, script, args, settings_file=None, apps=None):
python_path = [base_dir, django_dir, tests_dir]
python_path.extend(ext_backend_base_dirs)
test_environ[python_path_var_name] = os.pathsep.join(python_path)
+ test_environ['PYTHONWARNINGS'] = ''
# Move to the test directory and run
os.chdir(test_dir)
Please sign in to comment.
Something went wrong with that request. Please try again.