diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2010-11-02 05:31:19 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2010-11-02 05:31:19 +0000 |
| commit | 89219a6829d439c65f785f6603bbb91546944590 (patch) | |
| tree | fa5eed6c8b46f7ca19e68d2c772af2d8a2d98687 /tests/modeltests/proxy_model_inheritance/tests.py | |
| parent | 7dfefa74ca8e5b0d37a5d13f0fcde6e6f98de9a4 (diff) | |
Fixed a few more cases of the tests not properly restoring sys.path (follow up on [14429]).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/proxy_model_inheritance/tests.py')
| -rw-r--r-- | tests/modeltests/proxy_model_inheritance/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/proxy_model_inheritance/tests.py b/tests/modeltests/proxy_model_inheritance/tests.py index d10d6a4ac1..b6828515ab 100644 --- a/tests/modeltests/proxy_model_inheritance/tests.py +++ b/tests/modeltests/proxy_model_inheritance/tests.py @@ -17,7 +17,7 @@ from django.test import TransactionTestCase class ProxyModelInheritanceTests(TransactionTestCase): def setUp(self): - self.old_sys_path = sys.path + self.old_sys_path = sys.path[:] sys.path.append(os.path.dirname(os.path.abspath(__file__))) self.old_installed_apps = settings.INSTALLED_APPS settings.INSTALLED_APPS = ('app1', 'app2') |
