From 10d417b10fae1010e106516cc115084b22fcc8d8 Mon Sep 17 00:00:00 2001 From: Brian Cherinka Date: Thu, 28 Sep 2023 16:05:44 -0600 Subject: [PATCH] fixing broken doc test --- setup.cfg | 2 +- tests/misc/test_docupaths.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index f8a9c35..b846540 100644 --- a/setup.cfg +++ b/setup.cfg @@ -72,7 +72,7 @@ dev = wheel>=0.33.6 docs = - Sphinx>=2.1.0 + Sphinx>=7.1.0 sphinx_bootstrap_theme>=0.4.12 recommonmark>=0.6 sphinx-issues>=1.2.0 diff --git a/tests/misc/test_docupaths.py b/tests/misc/test_docupaths.py index 8659b41..150027a 100644 --- a/tests/misc/test_docupaths.py +++ b/tests/misc/test_docupaths.py @@ -18,11 +18,11 @@ def test_docupaths(app, status, warning): dmdoc = app.srcdir / "_build/html/contents.html" assert dmdoc.exists() - tt = dmdoc.read_text() + tt = dmdoc.read_text() # check for datamodel directive stuff assert '
' in tt - assert '

DR17

' in tt + assert '

DR17

' in tt assert "

$MANGA_SPECTRO_REDUX/{drpver}/{plate}/stack/manga-{plate}-{ifu}-{wave}CUBE.fits.gz

" in tt # check for changelog directive stuff