diff options
author | Gilthans <gilthans@gmail.com> | 2022-08-16 13:47:11 +0300 |
---|---|---|
committer | Gilthans <gilthans@gmail.com> | 2022-08-16 13:47:11 +0300 |
commit | 68bcc05f01585d6f8220346405859d1ce9517b4e (patch) | |
tree | 3cde4677fed9fe95595cbd75d8a8bf5e004e7686 | |
parent | 16f430a5daf0ab31acaad1dfdab09d2cdbae25ca (diff) | |
download | natsort-68bcc05f01585d6f8220346405859d1ce9517b4e.tar.gz |
Formatting fix
-rw-r--r-- | tests/test_natsorted.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_natsorted.py b/tests/test_natsorted.py index 1cbed83..eccb9d2 100644 --- a/tests/test_natsorted.py +++ b/tests/test_natsorted.py @@ -86,7 +86,11 @@ def test_natsorted_can_sort_as_version_numbers() -> None: def test_natsorted_can_sorts_paths_same_as_strings() -> None: - paths = [PurePosixPath('a/1/something'), PurePosixPath('a/2/something'), PurePosixPath('a/10/something')] + paths = [ + PurePosixPath("a/1/something"), + PurePosixPath("a/2/something"), + PurePosixPath("a/10/something"), + ] assert [str(p) for p in natsorted(paths)] == natsorted([str(p) for p in paths]) |