Skip to content

Commit

Permalink
tests: ignore case of PyYAML tarball
Browse files Browse the repository at this point in the history
The latest release uses the name pyyaml-6.0.2.tar.gz
  • Loading branch information
wjt committed Nov 19, 2024
1 parent a5d3bcf commit 85b9d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pypichecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def test_check(self):
elif data.filename == "PyYAML-5.3.1.tar.gz":
self.assertRegex(
data.new_version.url,
r"https://files.pythonhosted.org/packages/[a-f0-9/]+/PyYAML-[\d\.]+.(tar.(gz|xz|bz2)|zip)", # noqa: E501
r"https://files.pythonhosted.org/packages/[a-f0-9/]+/(?i:PyYAML-)[\d\.]+.(tar.(gz|xz|bz2)|zip)", # noqa: E501
)
elif data.filename == "vdf-3.1-py2.py3-none-any.whl":
self.assertRegex(
Expand Down

0 comments on commit 85b9d09

Please sign in to comment.