mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update code base for Python 3.8 and above
Result of: pipx run pyupgrade --py38-plus pelican/**/*.py
This commit is contained in:
parent
903ce3ce33
commit
ecd598f293
15 changed files with 58 additions and 64 deletions
|
|
@ -61,6 +61,6 @@ def test_sdist_contents(pytestconfig, expected_file):
|
|||
filtered_values = [
|
||||
path
|
||||
for path in files_list
|
||||
if match(f"^pelican-\d\.\d\.\d/{expected_file}{dir_matcher}$", path)
|
||||
if match(rf"^pelican-\d\.\d\.\d/{expected_file}{dir_matcher}$", path)
|
||||
]
|
||||
assert len(filtered_values) > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue