mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Replaced super(ClassName, self) with super().
This commit is contained in:
@@ -235,10 +235,10 @@ class CustomLoader(EggLoader):
|
||||
into one class, this isn't required.
|
||||
"""
|
||||
def setUp(self):
|
||||
super(CustomLoader, self).setUp()
|
||||
super().setUp()
|
||||
sys.path_hooks.insert(0, TestFinder)
|
||||
sys.path_importer_cache.clear()
|
||||
|
||||
def tearDown(self):
|
||||
super(CustomLoader, self).tearDown()
|
||||
super().tearDown()
|
||||
sys.path_hooks.pop(0)
|
||||
|
||||
Reference in New Issue
Block a user