Skip to content

Commit 81ae570

Browse files
committed
Remove unnecessary xfail condition for bad hostname
1 parent 0b97762 commit 81ae570

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_lib.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ def test(entry):
2424
pytest.xfail("unsupported parameter")
2525

2626
if entry.get("expected_obj") == "error":
27-
if (
28-
isinstance(entry["pattern"][0], dict)
29-
and entry["pattern"][0].get("hostname") == "bad\\:hostname"
30-
):
31-
pytest.xfail("unknown")
32-
3327
with pytest.raises(Exception):
3428
URLPattern(*entry["pattern"])
3529
return

0 commit comments

Comments
 (0)