Skip to content

Commit

Permalink
fix import loading order issue with unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwight Guth committed May 17, 2024
1 parent 9ff92bc commit ac1af44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyk/src/pyk/testing/_kompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from ..kast.outer import read_kast_definition
from ..kcfg import KCFGExplore
from ..kllvm.compiler import compile_runtime, generate_hints
from ..kllvm.hints.prooftrace import kore_header
from ..kllvm.importer import import_runtime
from ..kore.kompiled import KompiledKore
from ..kore.pool import KoreServerPool
Expand All @@ -34,6 +33,7 @@

from ..kast.outer import KDefinition
from ..kcfg.semantics import KCFGSemantics
from ..kllvm.hints.prooftrace import kore_header
from ..kllvm.runtime import Runtime
from ..ktool.kprint import SymbolTable
from ..utils import BugReport
Expand Down Expand Up @@ -379,4 +379,6 @@ def header(self, definition_dir: Path) -> kore_header:
path = str(definition_dir / 'header.bin')
with open(path, 'wb') as f:
f.write(hdr)
from ..kllvm.hints.prooftrace import kore_header

return kore_header(path)

0 comments on commit ac1af44

Please sign in to comment.