File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626from __future__ import unicode_literals
2727
28- from collections import deque
2928import copy
3029import functools
3130import re
3231import urllib .parse
32+ from collections import deque
3333
3434# Regular expression for extracting variable parts from a path template.
3535# The variables can be expressed as:
@@ -240,7 +240,7 @@ def _extract_and_validate_wildcards(
240240 if not _validate_multi_segment_value (captured_val ):
241241 raise err
242242 else :
243- # For values that don't match the pattern, ensure the value doesn't
243+ # For values that don't match the pattern, ensure the value doesn't
244244 # resolve to 0 segments (e.g. "projects/..").
245245 if val and not _validate_multi_segment_value (val ):
246246 raise err
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515from __future__ import unicode_literals
16+
1617from unittest import mock
1718
1819import pytest
19-
2020from google .api import auth_pb2
21+
2122from google .api_core import path_template
2223
2324
You can’t perform that action at this time.
0 commit comments