biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / django / django_5_tests_pythonpath.patch
blob8355d267a73ff17173eb50fe74bbe4c41903b575
1 diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
2 index 7f39d7f..b5b0ae7 100644
3 --- a/tests/admin_scripts/tests.py
4 +++ b/tests/admin_scripts/tests.py
5 @@ -126,6 +126,7 @@ class AdminScriptTestCase(SimpleTestCase):
6 del test_environ["DJANGO_SETTINGS_MODULE"]
7 python_path = [base_dir, django_dir, tests_dir]
8 python_path.extend(ext_backend_base_dirs)
9 + python_path.extend(sys.path)
10 test_environ["PYTHONPATH"] = os.pathsep.join(python_path)
11 test_environ["PYTHONWARNINGS"] = ""