added escape_ansi unittest
This commit is contained in:
parent
653954714f
commit
aa729d862c
3 changed files with 66 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
import re
|
||||
|
||||
|
||||
def escape_ANSI(line):
|
||||
'''
|
||||
Remove ANSI escape codes from a string with regex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue