From c4f772ed346fa68df503f545d28719c082f6b338 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 11 Mar 2014 10:46:13 -0400 Subject: [PATCH] Fixed test failures on Windows. refs #21092 and 8d7e048a8b428bebe82be735a84570f9250441e6 --- tests/admin_scripts/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 6ebac74fc3..90fd3520e2 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -133,7 +133,7 @@ class AdminScriptTestCase(unittest.TestCase): # 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]