|
Ran
|
Jobs
1
|
Files
9
|
Run time
0s
|
Badge
README BADGES
|
push
travis-ci
Fixed long-standing Windows bug. Embarrassingly this was broken for over a year (broken in 88a0149be). Bug caused colors to now show up on Windows, just bare text with no ANSI codes. The cause was WindowsStreamStdOut/Err class variables were defined on module load-time, and they read class variable values of WindowsCSBI which at load-time were None. Only during WindowsStreamStdOut/Err instantiation were WindowsCSBI class variables defined, but WindowsStreamStdOut/Err did not re-read the values. Hence they were always None, and Windows code didn't know which stream handle to write to. Fixes https://github.com/Robpol86/colorclass/issues/17.
495 of 502 relevant lines covered (98.61%)
0.99 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 414.1 | 0 |
98.61 |
Travis Job 414.1 |