Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 6ce132e

Browse files
committed
cleans up comments
1 parent e334e8e commit 6ce132e

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

tests/unit/schema/wrappers/test_method.py

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,24 +1002,14 @@ def test_mixin_rule():
10021002
assert e == m.sample_request
10031003

10041004

1005-
# @pytest.mark.parametrize(
1006-
# "page_field_size",
1007-
# [
1008-
# (True),
1009-
# (False),
1010-
# ]
1011-
# )
1012-
1013-
1014-
10151005
@pytest.mark.parametrize(
10161006
"field_type, _type, expected",
10171007
[
1018-
# valid paged_result_field candidate
1008+
# valid paged_result_field candidates
10191009
(int, 5, True), # 5 = int
10201010
(wrappers_pb2.UInt32Value, 11, True), # 11 = MessageType
10211011
(wrappers_pb2.Int32Value, 11, True), # 11 = MessageType
1022-
# invalid paged_result_field candidate
1012+
# invalid paged_result_field candidates
10231013
(float, 1, None), # 1 = float
10241014
(wrappers_pb2.UInt32Value, 1, None), # 1 = float
10251015
(wrappers_pb2.Int32Value, 1, None), # 1 = float
@@ -1035,7 +1025,8 @@ def test__validate_paged_field_size_type(field_type, _type, expected):
10351025
else:
10361026
# _type 11 is MESSAGETYPE
10371027
# See: https://github.com/googleapis/gapic-generator-python/blob/c8b7229ba2865d6a2f5966aa151be121de81f92d/gapic/schema/wrappers.py#L378C1-L411C10
1038-
# and is only associated with *Int32Value in legacy APIs such as BigQuery.
1028+
# and in this context is associated with *Int32Value in legacy APIs
1029+
# such as BigQuery.
10391030
page_size = make_field(
10401031
name="max_results",
10411032
type=_type,

0 commit comments

Comments
 (0)