1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

[1.2.X] Fixed a few more cases of the tests not properly restoring sys.path (follow up on [14430]). Backport of [14431].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor
2010-11-02 05:31:53 +00:00
parent a24ccfc79f
commit 5b78abeba7
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,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):