Skip to content

Commit

Permalink
test_concordance.py: Fixes "FutureWarning: sort(....) is deprecated" …
Browse files Browse the repository at this point in the history
…warning
  • Loading branch information
widdowquinn committed Oct 31, 2015
1 parent 8ee0b07 commit 17ce0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_concordance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 17ce0d7

Please sign in to comment.