Source

django-selectable / selectable / tests / base.py

Diff from to

File selectable/tests/base.py

     urls = 'selectable.tests.urls'
 
     def get_random_string(self, length=10):
-        return ''.join(random.choice(string.ascii_letters) for x in xrange(length))
+        return ''.join(random.choice(string.ascii_letters) for x in range(length))
 
     def create_thing(self, data=None):
         data = data or {}