mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
[py3] Added Python 3 compatibility for xrange.
This commit is contained in:
@@ -15,6 +15,7 @@ from django.middleware.http import ConditionalGetMiddleware
|
||||
from django.middleware.gzip import GZipMiddleware
|
||||
from django.test import TestCase, RequestFactory
|
||||
from django.test.utils import override_settings
|
||||
from django.utils.six.moves import xrange
|
||||
|
||||
class CommonMiddlewareTest(TestCase):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user