Skip to content

Commit

Permalink
backport syntax for python < 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Oct 9, 2024
1 parent afebb6f commit 7c28fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run_cli(*args: str, **kwargs: Mapping) -> subprocess.CompletedProcess:

@pytest.fixture(scope="session")
def populator_help_pattern():
return re.compile(f"\{{({',?|'.join([imp.replace('.', '\\.') for imp in implementations.__all__])},?)+\}}")
return re.compile(f"{{({',?|'.join([imp.replace('.', '\\.') for imp in implementations.__all__])},?)+}}")


def test_help():
Expand Down

0 comments on commit 7c28fa5

Please sign in to comment.