diff options
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r-- | tests/test_domain_cpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 93a43c754..8593c41f6 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -1366,7 +1366,7 @@ def test_domain_cpp_build_intersphinx(tempdir, app, status, warning): .. cpp:enum-class:: _enumClass .. cpp:function:: void _functionParam(int param) .. cpp:function:: template<typename TParam> void _templateParam() -""" # noqa +""" # noqa: F841 inv_file = tempdir / 'inventory' inv_file.write_bytes(b'''\ # Sphinx inventory version 2 @@ -1393,7 +1393,7 @@ _templateParam::TParam cpp:templateParam 1 index.html#_CPPv4I0E14_templateParamv _type cpp:type 1 index.html#_CPPv45$ - _union cpp:union 1 index.html#_CPPv46$ - _var cpp:member 1 index.html#_CPPv44$ - -''')) # noqa +''')) # noqa: W291 app.config.intersphinx_mapping = { 'https://localhost/intersphinx/cpp/': inv_file, } |