Change to use super() instead of the old py2 style everywhere
This commit is contained in:
parent
55237f20a7
commit
5859de7054
33 changed files with 69 additions and 70 deletions
|
|
@ -12,11 +12,11 @@ class TestBodyFunctions(BaseEvenniaTest):
|
|||
script_typeclass = BodyFunctions
|
||||
|
||||
def setUp(self):
|
||||
super(TestBodyFunctions, self).setUp()
|
||||
super().setUp()
|
||||
self.script.obj = self.char1
|
||||
|
||||
def tearDown(self):
|
||||
super(TestBodyFunctions, self).tearDown()
|
||||
super().tearDown()
|
||||
# if we forget to stop the script, DirtyReactorAggregateError will be raised
|
||||
self.script.stop()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue