Skip to content

Commit

Permalink
Explicitly disable colors in test fixture.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanholek committed Oct 30, 2022
1 parent 7287f79 commit 2641994
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rl/testing.py
Expand Up @@ -16,6 +16,10 @@ def reset():
completer.reset()
completion.reset()
history.reset()
# Disable colors if enabled in ~/.inputrc
completer.parse_and_bind('set colored-stats off')
completer.parse_and_bind('set colored-completion-prefix off')
completer.parse_and_bind('set enable-active-region off')


class JailSetup(unittest.TestCase):
Expand Down

0 comments on commit 2641994

Please sign in to comment.