Skip to content

Commit 7077eca

Browse files
committed
Infra: test legacy format and pseudo-obfuscated email
1 parent 228b6db commit 7077eca

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py

+9
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ def test_pep_details(test_input, expected):
5858
"First Last",
5959
[Author(last_first="Last, First", nick="Last", email="")],
6060
),
61+
(
62+
"[email protected] (First Last)",
63+
[Author(last_first="Last, First", nick="Last", email="[email protected]")],
64+
),
65+
pytest.param(
66+
"First Last <user at example.com>",
67+
[Author(last_first="Last, First", nick="Last", email="[email protected]")],
68+
marks=pytest.mark.xfail,
69+
),
6170
],
6271
)
6372
def test_parse_authors(test_input, expected):

0 commit comments

Comments
 (0)