Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed test failures on Windows.

refs #21092 and 8d7e048
  • Loading branch information...
commit c4f772ed346fa68df503f545d28719c082f6b338 1 parent 6d3ebe1
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/admin_scripts/
2  tests/admin_scripts/
@@ -133,7 +133,7 @@ def run_test(self, script, args, settings_file=None, apps=None):
# Set the test environment
if settings_file:
- test_environ['DJANGO_SETTINGS_MODULE'] = settings_file
+ test_environ['DJANGO_SETTINGS_MODULE'] = str(settings_file)
elif 'DJANGO_SETTINGS_MODULE' in test_environ:
del test_environ['DJANGO_SETTINGS_MODULE']
python_path = [base_dir, django_dir, tests_dir]
Please sign in to comment.
Something went wrong with that request. Please try again.