diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-11-21 20:36:35 +0100 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2021-11-22 15:03:17 +0000 |
commit | 0b95f0055be252b13e99b0a944466f60b5e367ff (patch) | |
tree | 6ae4135fd408c4e69582c4f6fa458b007553aeab /lib/sqlalchemy/testing/pickleable.py | |
parent | e04baa2953fb5d0d29f5dca01ea6882bf1fa1cd4 (diff) | |
download | sqlalchemy-0b95f0055be252b13e99b0a944466f60b5e367ff.tar.gz |
Remove object in class definition
References: #4600
Change-Id: I2a62ddfe00bc562720f0eae700a497495d7a987a
Diffstat (limited to 'lib/sqlalchemy/testing/pickleable.py')
-rw-r--r-- | lib/sqlalchemy/testing/pickleable.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sqlalchemy/testing/pickleable.py b/lib/sqlalchemy/testing/pickleable.py index 430cb5fb6..cf11ab03d 100644 --- a/lib/sqlalchemy/testing/pickleable.py +++ b/lib/sqlalchemy/testing/pickleable.py @@ -45,13 +45,13 @@ class Parent(fixtures.ComparableEntity): pass -class Screen(object): +class Screen: def __init__(self, obj, parent=None): self.obj = obj self.parent = parent -class Foo(object): +class Foo: def __init__(self, moredata, stuff="im stuff"): self.data = "im data" self.stuff = stuff @@ -67,7 +67,7 @@ class Foo(object): ) -class Bar(object): +class Bar: def __init__(self, x, y): self.x = x self.y = y @@ -104,7 +104,7 @@ class OldSchoolWithoutCompare: self.y = y -class BarWithoutCompare(object): +class BarWithoutCompare: def __init__(self, x, y): self.x = x self.y = y @@ -113,7 +113,7 @@ class BarWithoutCompare(object): return "Bar(%d, %d)" % (self.x, self.y) -class NotComparable(object): +class NotComparable: def __init__(self, data): self.data = data @@ -127,7 +127,7 @@ class NotComparable(object): return NotImplemented -class BrokenComparable(object): +class BrokenComparable: def __init__(self, data): self.data = data |