Skip to content

Commit 8e0f226

Browse files
authored
Remove check on argument input_file of _kore_print (#4829)
The check is too restrictive so in certain cases it produces spurious failures.
1 parent d856808 commit 8e0f226

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

pyk/src/pyk/kore/tools.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ def _kore_print(
5555
# ---
5656
input: str | None,
5757
) -> str:
58-
args = ['kore-print']
59-
60-
input_file = Path(input_file)
61-
if not input_file.is_char_device():
62-
check_file_path(input_file)
63-
args += [str(input_file)]
58+
args = ['kore-print', str(input_file)]
6459

6560
if definition_dir is not None:
6661
definition_dir = Path(definition_dir)

0 commit comments

Comments
 (0)