From 4b1560f28a52feb7d4a6c5d828f587a735d6a40b Mon Sep 17 00:00:00 2001 From: Gord Thompson Date: Mon, 20 Jan 2020 12:41:12 -0700 Subject: [PATCH] Apply requirement to related tests --- lib/sqlalchemy/testing/suite/test_reflection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sqlalchemy/testing/suite/test_reflection.py b/lib/sqlalchemy/testing/suite/test_reflection.py index 6920fda0a6..85e193d8e3 100644 --- a/lib/sqlalchemy/testing/suite/test_reflection.py +++ b/lib/sqlalchemy/testing/suite/test_reflection.py @@ -294,7 +294,6 @@ class ComponentReflectionTest(fixtures.TablesTest): ) if testing.requires.indexes_with_ascdesc.enabled: - # cls.create_expression_indexes() Index("noncol_idx_nopk", noncol_idx_test_nopk.c.q.desc()) Index("noncol_idx_pk", noncol_idx_test_pk.c.q.desc()) @@ -885,10 +884,12 @@ class ComponentReflectionTest(fixtures.TablesTest): eq_(list(t.indexes)[0].name, ixname) @testing.requires.index_reflection + @testing.requires.indexes_with_ascdesc def test_get_noncol_index_no_pk(self): self._test_get_noncol_index("noncol_idx_test_nopk", "noncol_idx_nopk") @testing.requires.index_reflection + @testing.requires.indexes_with_ascdesc def test_get_noncol_index_pk(self): self._test_get_noncol_index("noncol_idx_test_pk", "noncol_idx_pk") -- 2.47.3