()
| 132 | |
| 133 | # trigger a C++ side KeyError by accessing a non-existent key |
| 134 | def trigger_cpp_side_error() -> None: |
| 135 | try: |
| 136 | tmp_map: tvm_ffi.Map = tvm_ffi.Map(dict()) |
| 137 | tmp_map["a"] |
| 138 | except KeyError: |
| 139 | pass |
| 140 | |
| 141 | def may_create_cyclic_reference() -> weakref.ReferenceType: |
| 142 | obj = SampleObject() |
no test coverage detected