summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-05-09 21:57:36 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-05-09 21:57:36 +0900
commit56d3458584550022ab4706815276797c77a834d3 (patch)
treedd4210e93c876551ec1b1ffb5e83412b7899a06a /tests/test_domain_cpp.py
parent832f537703cb1c0b8425f85e0da8b9a580b2351f (diff)
downloadsphinx-git-56d3458584550022ab4706815276797c77a834d3.tar.gz
Fix flake8 violations
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index 49d8e3206..08ca6f962 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -451,6 +451,7 @@ def test_templates():
check('concept', 'template<typename ...Pack> Numerics = (... && Numeric<Pack>)',
None, 'IDpE8Numerics')
+
def test_template_args():
# from breathe#218
check('function',
@@ -462,6 +463,7 @@ def test_template_args():
"enable_if_not_array_t = std::enable_if_t<!is_array<T>::value, int>",
None, "I0E21enable_if_not_array_t")
+
def test_attributes():
# style: C++
check('member', '[[]] int f', 'f__i', '1f')