def test09_templated_function(self):
"""Templated free function"""
import cppjit
> mul = cppjit.gbl.multiply
^^^^^^^^^^^^^^^^^^^
E AttributeError: <namespace cppjit.gbl at 0x2647e8b0> has no attribute 'multiply'. Full details:
E type object '' has no attribute 'multiply'
E 'multiply' is not a known C++ class
E 'multiply' is not a known C++ template
E 'multiply' is not a known C++ enum
test/test_doc_features.py:717: AttributeError
Reason: multiply is defined at class TestDOCFEATURES, but test09 is at class TestTUTORIALFEATURES
- Same for
test_lowlevel.py::TestLOWLEVEL::test03_memory : AttributeError: module 'cppjit' has no attribute 'll'
The ll is not directly included at test03, and when test03 runs before one of the tests that import ll finishes, test fails
Reason: multiply is defined at
class TestDOCFEATURES, but test09 is atclass TestTUTORIALFEATUREStest_lowlevel.py::TestLOWLEVEL::test03_memory:AttributeError: module 'cppjit' has no attribute 'll'The
llis not directly included at test03, and when test03 runs before one of the tests that importllfinishes, test fails