##// END OF EJS Templates
Added sorting on counter and passed all tests (#14032)...
Added sorting on counter and passed all tests (#14032) Creating a pull request to address changes requested in #13484 to update logic for printing Counter objects in terminal. This is now matching the standard Python console and pprint outputs which sort by default in a descending order. Additionally, I have added an additional test case to test_collections_counter in test_pretty.py to test for descending order:

File last commit:

r27232:e4474874 merge
r28232:396593e7 merge
Show More
codecov.yml
26 lines | 558 B | text/x-yaml | YamlLexer
coverage:
status:
patch: off
project:
default: false
library:
target: auto
paths: ['!.*/tests/.*']
threshold: 0.1%
tests:
target: auto
paths: ['.*/tests/.*']
threshold: 0.1%
codecov:
require_ci_to_pass: false
ignore:
- IPython/kernel/*
- IPython/consoleapp.py
- IPython/core/inputsplitter.py
- IPython/lib/kernel.py
- IPython/utils/jsonutil.py
- IPython/utils/localinterfaces.py
- IPython/utils/log.py
- IPython/utils/signatures.py
- IPython/utils/traitlets.py