@@ -8,17 +8,21 @@ casper.notebook_test(function () {
8
8
"\033[0m[\033[31merror\033[0m] \033[0m\teven more text\033[0m" ,
9
9
"\u001b[?25hBuilding wheels for collected packages: scipy" ,
10
10
"\x1b[38;5;28;01mtry\x1b[39;00m" ,
11
- "\033[0m[\033[31merror\033[0m] \033[0m\t\tand more more text\033[0m" ] . join ( "\n" ) ;
11
+ "\033[0m[\033[31merror\033[0m] \033[0m\t\tand more more text\033[0m" ,
12
+ "normal\x1b[43myellowbg\x1b[35mmagentafg\x1b[1mbold\x1b[49mdefaultbg\x1b[39mdefaultfg\x1b[22mnormal" ,
13
+ ] . join ( "\n" ) ;
12
14
13
15
var output = [
14
16
"[info] text" ,
15
- " [<span class=\"ansiyellow\ ">warn</span>] \tmore text" ,
16
- " [<span class=\"ansiyellow\ ">warn</span>] https://some/url/to/a/file.ext" ,
17
- " [<span class=\"ansired\ ">error</span>] " ,
18
- " [<span class=\"ansired\ ">error</span>] \teven more text" ,
17
+ ' [<span class="ansi-yellow-fg ">warn</span>] \tmore text' ,
18
+ ' [<span class="ansi-yellow-fg ">warn</span>] https://some/url/to/a/file.ext' ,
19
+ ' [<span class="ansi-red-fg ">error</span>] ' ,
20
+ ' [<span class="ansi-red-fg ">error</span>] \teven more text' ,
19
21
"Building wheels for collected packages: scipy" ,
20
- '<span style="color: rgb(0,102,0);" class="ansibold">try</span>' ,
21
- "[<span class=\"ansired\">error</span>] \t\tand more more text" ] . join ( "\n" ) ;
22
+ '<span class="ansi-bold" style="color: rgb(0,135,0)">try</span>' ,
23
+ '[<span class="ansi-red-fg">error</span>] \t\tand more more text' ,
24
+ 'normal<span class="ansi-yellow-bg">yellowbg</span><span class="ansi-magenta-fg ansi-yellow-bg">magentafg</span><span class="ansi-magenta-intense-fg ansi-yellow-bg ansi-bold">bold</span><span class="ansi-magenta-intense-fg ansi-bold">defaultbg</span><span class="ansi-bold">defaultfg</span>normal' ,
25
+ ] . join ( "\n" ) ;
22
26
23
27
var result = this . evaluate ( function ( input ) {
24
28
return IPython . utils . fixConsole ( input ) ;
0 commit comments