Skip to content

Commit 478c609

Browse files
committed
cspell
1 parent 917c581 commit 478c609

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/http-client-python/generator/pygen/preprocess/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def update_client(self, yaml_data: dict[str, Any]) -> None:
350350
# custom x-ms-source-if-match/x-ms-source-if-none-match), only one
351351
# pair can be promoted to the etag/match_condition convention.
352352
# Prefer the standard If-Match/If-None-Match pair so the result
353-
# matches the pre-PR-10494 behaviour, and strip etagRole from the
353+
# matches the pre-PR-10494 behavior, and strip etagRole from the
354354
# rest so they retain their natural clientName.
355355
property_if_match = _pick_etag_slot(if_match_candidates, STANDARD_IF_MATCH_WIRE_NAME)
356356
property_if_none_match = _pick_etag_slot(if_none_match_candidates, STANDARD_IF_NONE_MATCH_WIRE_NAME)

packages/http-client-python/tests/unit/test_preprocess_etag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_first_custom_pair_chosen_when_multiple_custom_pairs_present():
151151
def test_synthetic_partner_still_works_with_only_one_custom_etag():
152152
"""When only a single custom etag header is present (no partner), the existing
153153
synthetic-partner code path still creates a matching ifNoneMatch (or ifMatch)
154-
copy. The fix must not regress this behaviour.
154+
copy. The fix must not regress this behavior.
155155
"""
156156
source_match = _header_param(
157157
"source_if_match", "x-ms-source-if-match", "ifMatch"

0 commit comments

Comments
 (0)