File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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" )
Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments