Show More
@@ -89,6 +89,9 b" osenvironb = getattr(os, 'environb', os." | |||
|
89 | 89 | processlock = threading.Lock() |
|
90 | 90 | |
|
91 | 91 | with_color = False |
|
92 | ||
|
93 | # ANSI color is unsupported prior to Windows 10 | |
|
94 | if os.name != 'nt': | |
|
92 | 95 | try: # is pygments installed |
|
93 | 96 | import pygments |
|
94 | 97 | import pygments.lexers as lexers |
@@ -121,6 +121,7 b' test churn with globs' | |||
|
121 | 121 | |
|
122 | 122 | test diff colorisation |
|
123 | 123 | |
|
124 | #if no-windows | |
|
124 | 125 | $ rt test-failure.t --color always |
|
125 | 126 | |
|
126 | 127 | \x1b[38;5;124m--- $TESTTMP/test-failure.t\x1b[39m (esc) |
@@ -155,6 +156,7 b' test diff colorisation' | |||
|
155 | 156 | Failed test-failure.t: output changed |
|
156 | 157 | # Ran 1 tests, 0 skipped, 1 failed. |
|
157 | 158 | python hash seed: * (glob) |
|
159 | #endif | |
|
158 | 160 | |
|
159 | 161 | basic failing test |
|
160 | 162 | $ cat > test-failure.t << EOF |
General Comments 0
You need to be logged in to leave comments.
Login now