Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 9ebc9108defa0267f0f84dcf16bfab83b332da75 1 parent ada08cd
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/views/tests/static.py
View
2  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):
Please sign in to comment.
Something went wrong with that request. Please try again.