mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Avoid using camelCase names in napoleon tests
This commit is contained in:
@@ -1221,7 +1221,7 @@ Returns Style:
|
||||
),
|
||||
)
|
||||
|
||||
testConfig = Config(
|
||||
test_config = Config(
|
||||
napoleon_custom_sections=[
|
||||
'Really Important Details',
|
||||
('Sooper Warning', 'warns'),
|
||||
@@ -1231,7 +1231,7 @@ Returns Style:
|
||||
)
|
||||
|
||||
for docstring, expected in docstrings:
|
||||
actual = GoogleDocstring(docstring, testConfig)
|
||||
actual = GoogleDocstring(docstring, test_config)
|
||||
assert str(actual) == expected
|
||||
|
||||
def test_noindex(self):
|
||||
|
Reference in New Issue
Block a user