Changeset 7877
- Timestamp:
- 07/10/08 08:53:45 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/regressiontests/admin_scripts/tests.py
r7876 r7877 59 59 old_django_settings_module = os.environ.get('DJANGO_SETTINGS_MODULE', None) 60 60 old_python_path = os.environ.get('PYTHONPATH', None) 61 old_cwd = os.getcwd() 61 62 62 63 # Set the test environment … … 78 79 if old_python_path: 79 80 os.environ['PYTHONPATH'] = old_python_path 81 82 # Move back to the old working directory 83 os.chdir(old_cwd) 80 84 81 85 return out, err
