From 0b95f0055be252b13e99b0a944466f60b5e367ff Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sun, 21 Nov 2021 20:36:35 +0100 Subject: Remove object in class definition References: #4600 Change-Id: I2a62ddfe00bc562720f0eae700a497495d7a987a --- test/dialect/postgresql/test_compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dialect/postgresql/test_compiler.py') diff --git a/test/dialect/postgresql/test_compiler.py b/test/dialect/postgresql/test_compiler.py index 46adc62e5..93513c39d 100644 --- a/test/dialect/postgresql/test_compiler.py +++ b/test/dialect/postgresql/test_compiler.py @@ -2799,7 +2799,7 @@ class DistinctOnTest(fixtures.MappedTest, AssertsCompiledSQL): def test_query_on_columns_subquery(self): sess = Session() - class Foo(object): + class Foo: pass clear_mappers() @@ -2817,7 +2817,7 @@ class DistinctOnTest(fixtures.MappedTest, AssertsCompiledSQL): ) def test_query_distinct_on_aliased(self): - class Foo(object): + class Foo: pass self.mapper_registry.map_imperatively(Foo, self.table) -- cgit v1.2.1