def test_exercise_code_path(self):

        def foo(n, a):
            s = a
            for i in range(n):
                s += i
            return s

        cres = compile_isolated(foo, [types.int32, types.int32])
        ta = cres.type_annotation
        self.assertIs(ta.html_output, None)

        buf = StringIO()
        ta.html_annotate(buf)
        output = buf.getvalue()
        buf.close()
        self.assertIn("foo", output)
Test detail routes for Interfaces objects.
dataset/ETHPy150Open numba/numba/numba/tests/test_annotations.py/TestAnnotation.test_exercise_code_path--crossover with--dataset/ETHPy150Open dropbox/nsot/tests/api_tests/test_interfaces.py/test_detail_routes