Skip to content

Commit 0f185f4

Browse files
authored
Fix test_other_with_assets_new_style w/Sphinx 4.0 (#133)
Make the test work with Sphinx 4.0.x. Fix the typo so that the regression file is actually found.
1 parent f3cf8a9 commit 0f185f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def test_other_with_assets(app, check_asset_links):
6464

6565
@pytest.mark.sphinx(testroot="linenos")
6666
@pytest.mark.skipif(
67-
sphinx.version_info[:2] <= (4, 0), reason="Test uses Sphinx 4 code blocks"
67+
sphinx.version_info[:2] < (4, 0), reason="Test uses Sphinx 4 code blocks"
6868
)
69-
def test_other_With_assets_new_style(app, check_asset_links):
69+
def test_other_with_assets_new_style(app, check_asset_links):
7070
check_asset_links(app)
7171

7272

0 commit comments

Comments
 (0)