mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix a flake8 violation
This commit is contained in:
parent
9ff1697939
commit
c2e4820ba3
@ -254,7 +254,7 @@ def test_extensions(tempdir):
|
|||||||
|
|
||||||
|
|
||||||
def test_exits_when_existing_confpy(monkeypatch):
|
def test_exits_when_existing_confpy(monkeypatch):
|
||||||
# The code detects existing conf.py with path.isfile()
|
# The code detects existing conf.py with path.isfile()
|
||||||
# so we mock it as True with pytest's monkeypatch
|
# so we mock it as True with pytest's monkeypatch
|
||||||
def mock_isfile(path):
|
def mock_isfile(path):
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user