summaryrefslogtreecommitdiff
path: root/tests/test_history.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_history.py')
-rwxr-xr-xtests/test_history.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_history.py b/tests/test_history.py
index 57bd0d7b..6f1336a8 100755
--- a/tests/test_history.py
+++ b/tests/test_history.py
@@ -34,7 +34,10 @@ except ImportError:
# readline tests
#
def test_readline_remove_history_item(base_app):
- from cmd2.rl_utils import readline
+ from cmd2.rl_utils import (
+ readline,
+ )
+
readline.clear_history()
assert readline.get_current_history_length() == 0
readline.add_history('this is a test')