diff options
Diffstat (limited to 'test/orm/inheritance/test_manytomany.py')
-rw-r--r-- | test/orm/inheritance/test_manytomany.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/orm/inheritance/test_manytomany.py b/test/orm/inheritance/test_manytomany.py index 60acab87d..e366a349c 100644 --- a/test/orm/inheritance/test_manytomany.py +++ b/test/orm/inheritance/test_manytomany.py @@ -76,7 +76,7 @@ class InheritTest(fixtures.MappedTest): ) def test_basic(self): - class Principal(object): + class Principal: def __init__(self, **kwargs): for key, value in kwargs.items(): setattr(self, key, value) @@ -151,7 +151,7 @@ class InheritTest2(fixtures.MappedTest): ) def test_get(self): - class Foo(object): + class Foo: def __init__(self, data=None): self.data = data @@ -173,7 +173,7 @@ class InheritTest2(fixtures.MappedTest): assert sess.get(Bar, b.id).id == b.id def test_basic(self): - class Foo(object): + class Foo: def __init__(self, data=None): self.data = data @@ -281,7 +281,7 @@ class InheritTest3(fixtures.MappedTest): ) def test_basic(self): - class Foo(object): + class Foo: def __init__(self, data=None): self.data = data @@ -317,7 +317,7 @@ class InheritTest3(fixtures.MappedTest): eq_(found, compare) def test_advanced(self): - class Foo(object): + class Foo: def __init__(self, data=None): self.data = data |