mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -27,7 +27,7 @@ class DefaultLoader(unittest.TestCase):
|
||||
|
||||
class EggLoader(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.old_path = sys.path
|
||||
self.old_path = sys.path[:]
|
||||
self.egg_dir = '%s/eggs' % os.path.dirname(__file__)
|
||||
|
||||
def tearDown(self):
|
||||
|
||||
Reference in New Issue
Block a user