Skip to content

Commit a6a5af6

Browse files
committed
regex with _ or - for et_xml'
1 parent 2017df6 commit a6a5af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_pipenv_graph_reverse(pipenv_instance_private_pypi):
142142
assert (
143143
openpyxl_dep is None
144144
), f"openpyxl should not appear at beginning of lines in {output}"
145-
assert re.search("openpyxl==2.5.4\\s*\\[requires:\\s*et-xmlfile\\]", output, flags=re.MULTILINE | re.IGNORECASE)
145+
assert re.search(r"openpyxl==2\.5\.4\s*\[requires:\s*et[-_]xmlfile\]", output, flags=re.MULTILINE | re.IGNORECASE)
146146
else:
147147
dep_match = re.search(
148148
rf"^[ -]*{dep_name}==[\d.]+$",

0 commit comments

Comments
 (0)