Skip to content

Commit e8789ac

Browse files
committed
comma
1 parent 5b2b9fd commit e8789ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/textual/css/_style_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ def __set__(
12191219
character = HATCHES[character]
12201220
except KeyError:
12211221
raise ValueError(
1222-
f"Expected a character or hatch value here; found {character!r}"
1222+
f"Expected a character or hatch value here, found {character!r}"
12231223
) from None
12241224
if cell_len(character) != 1:
12251225
raise ValueError("Hatch character must have a cell length of 1")

src/textual/dom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ def query_one(
14861486
continue
14871487
if expect_type is not None and not isinstance(node, expect_type):
14881488
raise WrongType(
1489-
f"Node matching {query_selector!r} is the wrong type; expected type {expect_type.__name__!r}; found {node}"
1489+
f"Node matching {query_selector!r} is the wrong type; expected type {expect_type.__name__!r}, found {node}"
14901490
)
14911491
if cache_key is not None:
14921492
base_node._query_one_cache[cache_key] = node
@@ -1561,7 +1561,7 @@ def query_exactly_one(
15611561
continue
15621562
if expect_type is not None and not isinstance(node, expect_type):
15631563
raise WrongType(
1564-
f"Node matching {query_selector!r} is the wrong type; expected type {expect_type.__name__!r}; found {node}"
1564+
f"Node matching {query_selector!r} is the wrong type; expected type {expect_type.__name__!r}, found {node}"
15651565
)
15661566
for later_node in iter_children:
15671567
if match(selector_set, later_node):

0 commit comments

Comments
 (0)