Skip to content

Commit eb6b8e6

Browse files
committed
Python 2 compatibility
1 parent 3378636 commit eb6b8e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_sqlalchemy_data_layer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ class TestResource(ResourceDetail):
991991
This fake resource always renders a constructor parameter
992992
"""
993993
def __init__(self, *args, **kwargs):
994-
super().__init__()
994+
super(TestResource, self).__init__()
995995
self.constant = args[0]
996996

997997
def get(self):
@@ -1009,7 +1009,7 @@ class TestResource(ResourceDetail):
10091009
This fake resource always renders a constructor parameter
10101010
"""
10111011
def __init__(self, *args, **kwargs):
1012-
super().__init__()
1012+
super(TestResource, self).__init__()
10131013
self.constant = kwargs.get('constant')
10141014

10151015
def get(self):

0 commit comments

Comments
 (0)