Skip to content

Commit

Permalink
Update tests/test_build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Nov 21, 2024
1 parent e7a2c50 commit 8915267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,8 @@ def test_version_switcher_error_states(
)

elif url == "http://a.b/switcher.json": # this file doesn't exist"
not_read = """WARNING: The version switcher "http://a.b/switcher.json"
file cannot be read due to the following error:\n"""
not_read = ("WARNING: The version switcher "http://a.b/switcher.json"
"file cannot be read due to the following error:\n")
assert not_read in escape_ansi(sphinx_build.warnings).strip()

elif url == "missing_url.json": # this file is missing the url key for one version
Expand Down

0 comments on commit 8915267

Please sign in to comment.