Commit b319d71b authored by Stefan Behnel's avatar Stefan Behnel

fix annotate test in C++ mode

parent 4cdd0f8a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
>>> import os.path as os_path >>> import os.path as os_path
>>> module_path = os_path.join(os_path.dirname(__file__), os_path.basename(__file__).split('.', 1)[0]) >>> module_path = os_path.join(os_path.dirname(__file__), os_path.basename(__file__).split('.', 1)[0])
>>> assert module_path.endswith('annotate_html') >>> assert module_path.endswith('annotate_html')
>>> assert os_path.exists(module_path + '.c'), module_path >>> assert os_path.exists(module_path + '.c') or os_path.exists(module_path + '.cpp'), module_path
>>> assert os_path.exists(module_path + '.html'), module_path >>> assert os_path.exists(module_path + '.html'), module_path
>>> with open(module_path + '.html') as html_file: >>> with open(module_path + '.html') as html_file:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment