Skip to content

Commit

Permalink
Python 3.8 syntax compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Jul 20, 2024
1 parent d2c45d7 commit 29de314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/incremental/tests/test_pyproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class VerifyPyprojectDotTomlTests(TestCase):
"""Test the `_load_pyproject_toml` helper function"""

def _loadToml(
self, toml: str, *, path: os.PathLike | None = None
self, toml: str, *, path: Optional[os.PathLike] = None
) -> Optional[_IncrementalConfig]:
"""
Read a TOML snipped from a temporary file with `_load_pyproject_toml`
Expand Down

0 comments on commit 29de314

Please sign in to comment.