We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ed052 commit 627f444Copy full SHA for 627f444
1 file changed
tests/test_piece_pattern_tree.py
@@ -6,7 +6,7 @@ def test_count():
6
num = 100
7
urls = ['http://test.com/abc/%d' % i for i in range(num)]
8
parser = PieceParser()
9
- tree = PiecePatternTree()
+ tree = PiecePatternTree(parse_url(urls[0])[0])
10
for url in urls:
11
_, pieces = parse_url(url)
12
parsed_pieces = [parser.parse(piece) for piece in pieces]
0 commit comments