Skip to content

Commit 4e50400

Browse files
ehildenbclaude
andcommitted
kmir/test_integration: remove debug artifacts from test_prove
Remove commented-out EqualityProof import, isinstance assertion, and _LOGGER warnings left over from development; remove unused logging import and Final. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f6a27ca commit 4e50400

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

kmir/src/tests/integration/test_integration.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
from __future__ import annotations
22

33
import json
4-
import logging
54
import os
65
import tempfile
76
from pathlib import Path
8-
from typing import TYPE_CHECKING, Final
7+
from typing import TYPE_CHECKING
98

109
import pytest
1110
from pyk.cterm.show import CTermShow
1211
from pyk.kast.inner import KApply, KSort, KToken
1312
from pyk.kast.pretty import PrettyPrinter
1413

15-
# from pyk.proof import EqualityProof, Proof
1614
from pyk.proof import Proof
1715
from pyk.proof.show import APRProofShow
1816

@@ -30,10 +28,6 @@
3028
from kmir.parse.parser import JSON
3129

3230

33-
_LOGGER: Final = logging.getLogger(__name__)
34-
_LOG_FORMAT: Final = '%(levelname)s %(asctime)s %(name)s - %(message)s'
35-
36-
3731
PROVE_RS_DIR = (Path(__file__).parent / 'data' / 'prove-rs').resolve(strict=True)
3832
PROVE_RS_FILES = list(PROVE_RS_DIR.glob('*.*'))
3933
PROVE_RS_START_SYMBOLS = {
@@ -688,9 +682,6 @@ def test_prove(spec: Path, tmp_path: Path, kmir: KMIR) -> None:
688682
claim_labels = kmir.get_claim_index(spec).labels()
689683
for label in claim_labels:
690684
proof = Proof.read_proof_data(proof_dir, label)
691-
# assert isinstance(proof, EqualityProof)
692-
# _LOGGER.warning(f'simplified_antecedent: {proof.simplified_antecedent}')
693-
# _LOGGER.warning(f'simplified_consequent: {proof.simplified_consequent}')
694685
assert proof.passed
695686

696687

0 commit comments

Comments
 (0)