Make codebase compatible with Python 3.7
This commit is contained in:
parent
2ad06e8b38
commit
f8db199996
11 changed files with 125 additions and 51 deletions
|
|
@ -77,7 +77,11 @@ def test_empty() -> None:
|
|||
|
||||
def test_save() -> None:
|
||||
path = Path("test.svg")
|
||||
path.unlink(missing_ok=True)
|
||||
try:
|
||||
path.unlink()
|
||||
except FileNotFoundError:
|
||||
# missing_ok only exists >= Python 3.8
|
||||
pass
|
||||
|
||||
evaluate_ranking(
|
||||
["a", "a", "b", "b", "c", "d", "d", "d"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue