Skip to content

Commit 1c89a5b

Browse files
committed
added more permutations
1 parent 6386b24 commit 1c89a5b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

pandas/tests/frame/test_analytics.py

+14-4
Original file line numberDiff line numberDiff line change
@@ -1923,12 +1923,22 @@ class TestNLargestNSmallest(object):
19231923
@pytest.mark.parametrize(
19241924
'n, order',
19251925
product(range(1, 11),
1926-
[['a', 'b', 'c'],
1927-
['c', 'b', 'a'],
1928-
['a'],
1926+
[['a'],
19291927
['c'],
19301928
['a', 'b'],
1931-
['c', 'b']]))
1929+
['a', 'c'],
1930+
['b', 'a'],
1931+
['b', 'c'],
1932+
['a', 'b', 'c'],
1933+
['c', 'a', 'b'],
1934+
['c', 'b', 'a'],
1935+
['b', 'c', 'a'],
1936+
['b', 'a', 'c'],
1937+
1938+
# dups!
1939+
['b', 'c', 'c'],
1940+
1941+
]))
19321942
def test_n(self, df_strings, n, order):
19331943
# GH10393
19341944
df = df_strings

0 commit comments

Comments
 (0)