Skip to content

Commit 1e06c3f

Browse files
committed
skip class_order test for sphinx<3
1 parent 0417afc commit 1e06c3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_autodocsumm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ def test_class(self, app, status, warning):
162162

163163
@with_app(buildername='html', srcdir=sphinx_supp,
164164
copy_srcdir_to_tmpdir=True)
165+
@unittest.skipIf(
166+
sphinx_version[:2] < [3, 0], "Only available for sphinx>=3"
167+
)
165168
def test_class_order(self, app, status, warning):
166169
app.build()
167170
html = get_html(app, '/test_class_order.html')

0 commit comments

Comments
 (0)