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_reflection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dialect/postgresql/test_reflection.py') diff --git a/test/dialect/postgresql/test_reflection.py b/test/dialect/postgresql/test_reflection.py index fa90ec212..2bfce557f 100644 --- a/test/dialect/postgresql/test_reflection.py +++ b/test/dialect/postgresql/test_reflection.py @@ -40,7 +40,7 @@ from sqlalchemy.testing.assertions import is_ from sqlalchemy.testing.assertions import is_true -class ReflectionFixtures(object): +class ReflectionFixtures: @testing.fixture( params=[ ("engine", True), @@ -1773,7 +1773,7 @@ class ReflectionTest( class CustomTypeReflectionTest(fixtures.TestBase): - class CustomType(object): + class CustomType: def __init__(self, arg1=None, arg2=None): self.arg1 = arg1 self.arg2 = arg2 -- cgit v1.2.1