mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
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
This commit is contained in:
parent
7dfefa74ca
commit
89219a6829
3 changed files with 3 additions and 3 deletions
|
@ -1356,7 +1356,7 @@ class Templates(unittest.TestCase):
|
|||
class TemplateTagLoading(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.old_path = sys.path
|
||||
self.old_path = sys.path[:]
|
||||
self.old_apps = settings.INSTALLED_APPS
|
||||
self.egg_dir = '%s/eggs' % os.path.dirname(__file__)
|
||||
self.old_tag_modules = template.templatetags_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue