From 17ce0d70c1ba4151aae7c5b5fcdae44c139b8c4c Mon Sep 17 00:00:00 2001 From: widdowquinn Date: Sat, 31 Oct 2015 12:29:53 +0000 Subject: [PATCH] test_concordance.py: Fixes "FutureWarning: sort(....) is deprecated" warning --- tests/test_concordance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_concordance.py b/tests/test_concordance.py index ec18450e..ce4bc747 100644 --- a/tests/test_concordance.py +++ b/tests/test_concordance.py @@ -58,7 +58,7 @@ def parse_table(filename, title): in_table, header = True, False elif in_table: if not len(line.strip()): - return data.sort(axis=0).sort(axis=1) + return data.sort_index(axis=0).sort_index(axis=1) else: ldata = line.strip().split('\t') row = ldata[0]