summaryrefslogtreecommitdiff
path: root/tests/test_natsorted.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_natsorted.py')
-rw-r--r--tests/test_natsorted.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_natsorted.py b/tests/test_natsorted.py
index e4a4788..bd1cc39 100644
--- a/tests/test_natsorted.py
+++ b/tests/test_natsorted.py
@@ -113,8 +113,8 @@ def test_natsorted_handles_mixed_types(
@pytest.mark.parametrize(
"alg, expected",
[
- (ns.DEFAULT, [None, float("nan"), float("-inf"), 5, "25", 1e40, float("inf")]),
- (ns.NANLAST, [float("-inf"), 5, "25", 1e40, None, float("nan"), float("inf")]),
+ (ns.DEFAULT, [float("nan"), None, float("-inf"), 5, "25", 1e40, float("inf")]),
+ (ns.NANLAST, [float("-inf"), 5, "25", 1e40, float("inf"), None, float("nan")]),
],
)
def test_natsorted_consistent_ordering_with_nan_and_friends(