mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
python: tests: update all super calls to python 3 style in tests
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> [abartlet@samba.org Some python2 style super() calls remain due to being an actual, even if reasonable, behaviour change]
This commit is contained in:
committed by
Andrew Bartlett
parent
e8fda61a57
commit
6ac4833678
@@ -30,7 +30,7 @@ for p in ["../../../../../testdata/samba3", "../../../../testdata/samba3"]:
|
||||
class IdmapDbTestCase(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(IdmapDbTestCase, self).setUp()
|
||||
super().setUp()
|
||||
self.idmapdb = IdmapDatabase(os.path.join(DATADIR,
|
||||
"winbindd_idmap"))
|
||||
|
||||
@@ -54,4 +54,4 @@ class IdmapDbTestCase(TestCase):
|
||||
|
||||
def tearDown(self):
|
||||
self.idmapdb.close()
|
||||
super(IdmapDbTestCase, self).tearDown()
|
||||
super().tearDown()
|
||||
|
||||
Reference in New Issue
Block a user