diff options
Diffstat (limited to 'tests/run/annotate_html.pyx')
-rw-r--r-- | tests/run/annotate_html.pyx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run/annotate_html.pyx b/tests/run/annotate_html.pyx index 765c2e13f..e98891b4f 100644 --- a/tests/run/annotate_html.pyx +++ b/tests/run/annotate_html.pyx @@ -1,3 +1,6 @@ +# cython: test_assert_c_code_has = Generated by Cython +# cython: test_assert_c_code_has = goto __pyx_L0;\n + """ >>> from codecs import open >>> import os.path as os_path @@ -11,6 +14,8 @@ >>> import re >>> assert re.search('<pre .*def.* .*mixed_test.*</pre>', html) +>>> from Cython.Compiler.Annotate import AnnotationCCodeWriter +>>> assert (AnnotationCCodeWriter.COMPLETE_CODE_TITLE not in html) # per default no complete c code """ |