Permalink
Browse files

Fix the test isolation from [15552].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent ada08cd commit 9ebc9108defa0267f0f84dcf16bfab83b332da75 @alex alex committed Feb 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/views/tests/static.py
@@ -95,7 +95,7 @@ class StaticHelperTest(StaticTests):
def setUp(self):
super(StaticHelperTest, self).setUp()
self.prefix = 'media'
- self._old_views_urlpatterns = urls.urlpatterns
+ self._old_views_urlpatterns = urls.urlpatterns[:]
urls.urlpatterns += static('/media/', document_root=media_dir)
def tearDown(self):

0 comments on commit 9ebc910

Please sign in to comment.