Skip to content

Commit ce36c78

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)