mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Switch to no argument super() (#1361)
Now that Python 2 support is gone, we can switch to no argument super() rather than calling our superclass by name.
This commit is contained in:
@@ -38,7 +38,7 @@ from . import Framework
|
||||
|
||||
class RepositoryKey(Framework.TestCase):
|
||||
def setUp(self):
|
||||
Framework.TestCase.setUp(self)
|
||||
super().setUp()
|
||||
# When recording test, be sure to create a deploy key for yourself on
|
||||
# Github and update it here.
|
||||
self.key = self.g.get_user("lra").get_repo("mackup").get_key(21870881)
|
||||
|
||||
Reference in New Issue
Block a user