summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_natsorted.py6
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])