Skip to content

Commit

Permalink
Revert "Merge branch 'pr/1326'"
Browse files Browse the repository at this point in the history
This reverts commit 85314a2, reversing
changes made to b5be517.
  • Loading branch information
Julian committed Jun 24, 2024
1 parent a2e5bbc commit 6661472
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions bowtie/_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,8 @@ def __rich_console__(
),
)

schema = case.syntax(ref_dialect)
reason.add_row(
schema,
case.syntax(ref_dialect),
JSON(json.dumps(registry)),
instances,
)
Expand All @@ -216,41 +215,6 @@ def __rich_console__(
padding=2,
)
epilog.add_row(panel)

test = {
"description": "basic referencing support",
"schema": json.loads(
"".join(
segment.text
for segment in console.render(schema)
),
),
"registry": registry,
"tests": [
{"description": "a test", "instance": 37, "valid": False},
],
}
epilog.add_row(
Table(
Column(""),
caption=dedent(
rf"""
[blue]bowtie run -i {self.id} <(printf '
{json.dumps(test)}
')
[/]"""
"can be used to reproduce one of the "
"referencing failures."
"""
""",
),
box=None,
min_width=111,
caption_justify="left",
),
)
else:
title = f"{prefix} [/][b green]work!"

Expand Down

0 comments on commit 6661472

Please sign in to comment.