diff options
Diffstat (limited to 'test/sql/test_constraints.py')
-rw-r--r-- | test/sql/test_constraints.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py index b1b731d66..dbdab3307 100644 --- a/test/sql/test_constraints.py +++ b/test/sql/test_constraints.py @@ -705,15 +705,13 @@ class ConstraintGenTest(fixtures.TestBase, AssertsExecutionResults): Index("idx_winners", events.c.winner) eq_( - set(ix.name for ix in events.indexes), - set( - [ - "ix_events_name", - "ix_events_location", - "sport_announcer", - "idx_winners", - ] - ), + {ix.name for ix in events.indexes}, + { + "ix_events_name", + "ix_events_location", + "sport_announcer", + "idx_winners", + }, ) self.assert_sql_execution( |