1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #23919 -- Stopped inheriting from object to define new style classes.

This commit is contained in:
Simon Charette
2017-01-19 02:39:46 -05:00
committed by Claude Paroz
parent a556396339
commit cecc079168
293 changed files with 512 additions and 514 deletions

View File

@@ -179,7 +179,7 @@ class AutodiscoverModulesTestCase(SimpleTestCase):
self.assertEqual(site._registry, {'lorem': 'ipsum'})
class ProxyFinder(object):
class ProxyFinder:
def __init__(self):
self._cache = {}
@@ -208,7 +208,7 @@ class ProxyFinder(object):
fd.close()
class TestFinder(object):
class TestFinder:
def __init__(self, *args, **kwargs):
self.importer = zipimporter(*args, **kwargs)
@@ -219,7 +219,7 @@ class TestFinder(object):
return TestLoader(importer)
class TestLoader(object):
class TestLoader:
def __init__(self, importer):
self.importer = importer