Skip to content

Commit 2e5f490

Browse files
committed
Rename urlpatterntestdata to URLPATTERNTESTDATA
1 parent 2842236 commit 2e5f490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# 1. Go to https://github.com/web-platform-tests/wpt/blob/master/urlpattern/resources/urlpatterntestdata.json.
1313
# 2. Copy the content.
1414
# 3. Paste into `tests/urlpatterntestdata.json`.
15-
urlpatterntestdata = json.loads(
15+
URLPATTERNTESTDATA = json.loads(
1616
pathlib.Path("tests/urlpatterntestdata.json").read_text("utf-8")
1717
)
1818

1919

20-
@pytest.mark.parametrize("entry", urlpatterntestdata)
20+
@pytest.mark.parametrize("entry", URLPATTERNTESTDATA)
2121
def test(entry):
2222
if entry["pattern"] == [{"pathname": "*{}**?"}] or entry["pattern"] == ["((?R)):"]:
2323
pytest.skip("unsupported in the implementation")

0 commit comments

Comments
 (0)