pyk.testing.plugin module
- load_kllvm(tmp_path_factory: TempPathFactory) None [source]
Generate and import the
_kllvm
bindings module.Use this fixture in all tests that import from
pyk.kllvm
. It ensures transitive imports of_kllvm
are successful.Example
def test_symbol_name(load_kllvm: None) -> None: from pyk.kllvm.ast import Symbol name = "Lbl'UndsPlus'Int'Unds'" symbol = Symbol(name) assert symbol.name == name