← Back to DAGDA | Support | Source: https://github.com/python/cpython/pull/5103/commits/125bfdaef0b532d58224b0d811e98875f716decd
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix failing pstats.py unittest
  • Loading branch information
mwidjaja committed Jan 26, 2018
commit 125bfdaef0b532d58224b0d811e98875f716decd
2 changes: 1 addition & 1 deletion Lib/test/test_pstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_sort_stats_int(self):

def test_sort_stats_string(self):
for arg in SortKey:
arg = arg.name
arg = arg.value
# 'file' sorting criteria will not work because it creates
# ambiquity with 'filename'
if arg == 'file':
Expand Down