forked from github/pelican
Convert super() calls to py3 style
This commit is contained in:
parent
3cc430b418
commit
16968834ce
11 changed files with 38 additions and 56 deletions
|
|
@ -42,7 +42,7 @@ class TestPelican(LoggedTestCase):
|
|||
# to run pelican in different situations and see how it behaves
|
||||
|
||||
def setUp(self):
|
||||
super(TestPelican, self).setUp()
|
||||
super().setUp()
|
||||
self.temp_path = mkdtemp(prefix='pelicantests.')
|
||||
self.temp_cache = mkdtemp(prefix='pelican_cache.')
|
||||
self.maxDiff = None
|
||||
|
|
@ -53,7 +53,7 @@ class TestPelican(LoggedTestCase):
|
|||
rmtree(self.temp_path)
|
||||
rmtree(self.temp_cache)
|
||||
locale.setlocale(locale.LC_ALL, self.old_locale)
|
||||
super(TestPelican, self).tearDown()
|
||||
super().tearDown()
|
||||
|
||||
def assertDirsEqual(self, left_path, right_path):
|
||||
out, err = subprocess.Popen(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue