Skip to content

Commit 9a5fb90

Browse files
committed
Updated docs and unit tests
1 parent c79e56d commit 9a5fb90

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ Main Features
3434
- Ability to load commands at startup from an initialization script
3535
- Settable environment parameters
3636
- Parsing commands with arguments using `argparse`, including support for sub-commands
37-
- Sub-menu support via the ``AddSubmenu`` decorator
3837
- Unicode character support
3938
- Good tab-completion of commands, sub-commands, file system paths, and shell commands
4039
- Support for Python 3.4+ on Windows, macOS, and Linux
@@ -58,7 +57,7 @@ pip install -U cmd2
5857
```
5958

6059
cmd2 works with Python 3.4+ on Windows, macOS, and Linux. It is pure Python code with
61-
the only 3rd-party dependencies being on [attrs](https://github.com/python-attrs/attrs),
60+
the only 3rd-party dependencies being on [attrs](https://github.com/python-attrs/attrs),
6261
[colorama](https://github.com/tartley/colorama), and [pyperclip](https://github.com/asweigart/pyperclip).
6362
Windows has an additional dependency on [pyreadline](https://pypi.python.org/pypi/pyreadline). Non-Windows platforms
6463
have an additional dependency on [wcwidth](https://pypi.python.org/pypi/wcwidth). Finally, Python

tests/test_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def test_path_completion_multiple(cmd2_app, request):
252252
endidx = len(line)
253253
begidx = endidx - len(text)
254254

255-
matches = sorted(cmd2_app.path_complete(text, line, begidx, endidx))
255+
matches = cmd2_app.path_complete(text, line, begidx, endidx)
256256
expected = [text + 'cript.py', text + 'cript.txt', text + 'cripts' + os.path.sep]
257257
assert matches == expected
258258

0 commit comments

Comments
 (0)