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 /test/sql/test_operators.py | |
parent | e04baa2953fb5d0d29f5dca01ea6882bf1fa1cd4 (diff) | |
download | sqlalchemy-0b95f0055be252b13e99b0a944466f60b5e367ff.tar.gz |
Remove object in class definition
References: #4600
Change-Id: I2a62ddfe00bc562720f0eae700a497495d7a987a
Diffstat (limited to 'test/sql/test_operators.py')
-rw-r--r-- | test/sql/test_operators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py index 45ea30548..b86e8d075 100644 --- a/test/sql/test_operators.py +++ b/test/sql/test_operators.py @@ -449,7 +449,7 @@ class CustomUnaryOperatorTest(fixtures.TestBase, testing.AssertsCompiledSQL): ) -class _CustomComparatorTests(object): +class _CustomComparatorTests: def test_override_builtin(self): c1 = Column("foo", self._add_override_factory()) self._assert_add_override(c1) @@ -2126,7 +2126,7 @@ class InTest(fixtures.TestBase, testing.AssertsCompiledSQL): ) def test_in_arbitrary_sequence(self): - class MySeq(object): + class MySeq: def __init__(self, d): self.d = d |