From 9d2b0c6ff95a65c241cf039e82ece7d34c31abc5 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 13 Oct 2019 11:27:59 -0400 Subject: Update HTML gold tests --- tests/gold/html/a/a_py.html | 27 ++------ tests/gold/html/a/index.html | 4 +- tests/gold/html/b_branch/b_py.html | 93 +++++++++------------------ tests/gold/html/b_branch/index.html | 4 +- tests/gold/html/bom/2/bom_py.html | 45 ++++--------- tests/gold/html/bom/2/index.html | 4 +- tests/gold/html/bom/bom_py.html | 45 ++++--------- tests/gold/html/bom/index.html | 4 +- tests/gold/html/isolatin1/index.html | 4 +- tests/gold/html/isolatin1/isolatin1_py.html | 27 ++------ tests/gold/html/omit_1/index.html | 4 +- tests/gold/html/omit_1/m1_py.html | 18 ++---- tests/gold/html/omit_1/m2_py.html | 18 ++---- tests/gold/html/omit_1/m3_py.html | 18 ++---- tests/gold/html/omit_1/main_py.html | 42 ++++-------- tests/gold/html/omit_2/index.html | 4 +- tests/gold/html/omit_2/m2_py.html | 18 ++---- tests/gold/html/omit_2/m3_py.html | 18 ++---- tests/gold/html/omit_2/main_py.html | 42 ++++-------- tests/gold/html/omit_3/index.html | 4 +- tests/gold/html/omit_3/m3_py.html | 18 ++---- tests/gold/html/omit_3/main_py.html | 42 ++++-------- tests/gold/html/omit_4/index.html | 4 +- tests/gold/html/omit_4/m1_py.html | 18 ++---- tests/gold/html/omit_4/m3_py.html | 18 ++---- tests/gold/html/omit_4/main_py.html | 42 ++++-------- tests/gold/html/omit_5/index.html | 4 +- tests/gold/html/omit_5/m1_py.html | 18 ++---- tests/gold/html/omit_5/main_py.html | 42 ++++-------- tests/gold/html/other/blah_blah_other_py.html | 28 +++----- tests/gold/html/other/here_py.html | 30 +++------ tests/gold/html/other/index.html | 6 +- tests/gold/html/partial/index.html | 4 +- tests/gold/html/partial/partial_py.html | 63 ++++++------------ tests/gold/html/styled/a_py.html | 27 ++------ tests/gold/html/styled/index.html | 4 +- tests/gold/html/unicode/index.html | 4 +- tests/gold/html/unicode/unicode_py.html | 27 ++------ 38 files changed, 243 insertions(+), 599 deletions(-) (limited to 'tests/gold') diff --git a/tests/gold/html/a/a_py.html b/tests/gold/html/a/a_py.html index 4ebd1ae1..be429883 100644 --- a/tests/gold/html/a/a_py.html +++ b/tests/gold/html/a/a_py.html @@ -51,30 +51,17 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-
-

if 1 < 2: 

-

# Needed a < to look at HTML entities. 

-

a = 3 

-

else: 

-

a = 4 

-
+

1if 1 < 2: 

+

2 # Needed a < to look at HTML entities. 

+

3 a = 3 

+

4else: 

+

5 a = 4 

diff --git a/tests/gold/html/a/index.html b/tests/gold/html/a/index.html index b839af1e..d5627078 100644 --- a/tests/gold/html/a/index.html +++ b/tests/gold/html/a/index.html @@ -75,8 +75,8 @@ diff --git a/tests/gold/html/b_branch/b_py.html b/tests/gold/html/b_branch/b_py.html index c9197c59..665befd9 100644 --- a/tests/gold/html/b_branch/b_py.html +++ b/tests/gold/html/b_branch/b_py.html @@ -52,74 +52,39 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-

12

-

13

-

14

-

15

-

16

-

17

-

18

-

19

-

20

-

21

-

22

-

23

-

24

-

25

-

26

-

27

-
-

def one(x): 

-

# This will be a branch that misses the else. 

-

3 ↛ 6line 3 didn't jump to line 6, because the condition on line 3 was never false if x < 2: 

-

a = 3 

-

else: 

-

a = 4 

-

 

-

one(1) 

-

 

-

def two(x): 

-

# A missed else that branches to "exit" 

-

12 ↛ exitline 12 didn't return from function 'two', because the condition on line 12 was never false if x: 

-

a = 5 

-

 

-

two(1) 

-

 

-

def three(): 

-

try: 

-

# This if has two branches, *neither* one taken. 

-

20 ↛ 21,   20 ↛ 232 missed branches: 1) line 20 didn't jump to line 21, because the condition on line 20 was never true, 2) line 20 didn't jump to line 23, because the condition on line 20 was never false if name_error_this_variable_doesnt_exist: 

-

a = 1 

-

else: 

-

a = 2 

-

except: 

-

pass 

-

 

-

three() 

-
+

1def one(x): 

+

2 # This will be a branch that misses the else. 

+

3 if x < 2: 3 ↛ 6line 3 didn't jump to line 6, because the condition on line 3 was never false

+

4 a = 3 

+

5 else: 

+

6 a = 4 

+

7 

+

8one(1) 

+

9 

+

10def two(x): 

+

11 # A missed else that branches to "exit" 

+

12 if x: 12 ↛ exitline 12 didn't return from function 'two', because the condition on line 12 was never false

+

13 a = 5 

+

14 

+

15two(1) 

+

16 

+

17def three(): 

+

18 try: 

+

19 # This if has two branches, *neither* one taken. 

+

20 if name_error_this_variable_doesnt_exist: 20 ↛ 21,   20 ↛ 232 missed branches: 1) line 20 didn't jump to line 21, because the condition on line 20 was never true, 2) line 20 didn't jump to line 23, because the condition on line 20 was never false

+

21 a = 1 

+

22 else: 

+

23 a = 2 

+

24 except: 

+

25 pass 

+

26 

+

27three() 

diff --git a/tests/gold/html/b_branch/index.html b/tests/gold/html/b_branch/index.html index a0346e86..a4827b28 100644 --- a/tests/gold/html/b_branch/index.html +++ b/tests/gold/html/b_branch/index.html @@ -83,8 +83,8 @@ diff --git a/tests/gold/html/bom/2/bom_py.html b/tests/gold/html/bom/2/bom_py.html index 5cab9622..bd4afd06 100644 --- a/tests/gold/html/bom/2/bom_py.html +++ b/tests/gold/html/bom/2/bom_py.html @@ -51,42 +51,23 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-
-

# A Python source file in utf-8, with BOM. 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

 

-

import sys 

-

 

-

if sys.version_info >= (3, 0): 

-

assert len(math) == 18 

-

assert len(math.encode('utf-8')) == 21 

-

else: 

-

assert len(math) == 21 

-

assert len(math.decode('utf-8')) == 18 

-
+

1# A Python source file in utf-8, with BOM. 

+

2math = "3×4 = 12, ÷2 = 6±0" 

+

3 

+

4import sys 

+

5 

+

6if sys.version_info >= (3, 0): 

+

7 assert len(math) == 18 

+

8 assert len(math.encode('utf-8')) == 21 

+

9else: 

+

10 assert len(math) == 21 

+

11 assert len(math.decode('utf-8')) == 18 

diff --git a/tests/gold/html/bom/2/index.html b/tests/gold/html/bom/2/index.html index bde4bb46..3fa67f0f 100644 --- a/tests/gold/html/bom/2/index.html +++ b/tests/gold/html/bom/2/index.html @@ -75,8 +75,8 @@ diff --git a/tests/gold/html/bom/bom_py.html b/tests/gold/html/bom/bom_py.html index 3395c3bd..0ef14599 100644 --- a/tests/gold/html/bom/bom_py.html +++ b/tests/gold/html/bom/bom_py.html @@ -51,42 +51,23 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-
-

# A Python source file in utf-8, with BOM. 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

 

-

import sys 

-

 

-

if sys.version_info >= (3, 0): 

-

assert len(math) == 18 

-

assert len(math.encode('utf-8')) == 21 

-

else: 

-

assert len(math) == 21 

-

assert len(math.decode('utf-8')) == 18 

-
+

1# A Python source file in utf-8, with BOM. 

+

2math = "3×4 = 12, ÷2 = 6±0" 

+

3 

+

4import sys 

+

5 

+

6if sys.version_info >= (3, 0): 

+

7 assert len(math) == 18 

+

8 assert len(math.encode('utf-8')) == 21 

+

9else: 

+

10 assert len(math) == 21 

+

11 assert len(math.decode('utf-8')) == 18 

diff --git a/tests/gold/html/bom/index.html b/tests/gold/html/bom/index.html index 4c4d9897..6b87a5bc 100644 --- a/tests/gold/html/bom/index.html +++ b/tests/gold/html/bom/index.html @@ -75,8 +75,8 @@ diff --git a/tests/gold/html/isolatin1/index.html b/tests/gold/html/isolatin1/index.html index c648ae7d..f0d1fcc9 100644 --- a/tests/gold/html/isolatin1/index.html +++ b/tests/gold/html/isolatin1/index.html @@ -75,8 +75,8 @@ diff --git a/tests/gold/html/isolatin1/isolatin1_py.html b/tests/gold/html/isolatin1/isolatin1_py.html index 7fb22be2..a4a75444 100644 --- a/tests/gold/html/isolatin1/isolatin1_py.html +++ b/tests/gold/html/isolatin1/isolatin1_py.html @@ -51,30 +51,17 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-
-

# -*- coding: iso8859-1 -*- 

-

# A Python source file in another encoding. 

-

 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

assert len(math) == 18 

-
+

1# -*- coding: iso8859-1 -*- 

+

2# A Python source file in another encoding. 

+

3 

+

4math = "3×4 = 12, ÷2 = 6±0" 

+

5assert len(math) == 18 

diff --git a/tests/gold/html/omit_1/index.html b/tests/gold/html/omit_1/index.html index 289c6f10..27be0a0e 100644 --- a/tests/gold/html/omit_1/index.html +++ b/tests/gold/html/omit_1/index.html @@ -96,8 +96,8 @@ diff --git a/tests/gold/html/omit_1/m1_py.html b/tests/gold/html/omit_1/m1_py.html index 238e4cbc..de55555f 100644 --- a/tests/gold/html/omit_1/m1_py.html +++ b/tests/gold/html/omit_1/m1_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m1a = 1 

-

m1b = 2 

-
+

1m1a = 1 

+

2m1b = 2 

diff --git a/tests/gold/html/omit_1/m2_py.html b/tests/gold/html/omit_1/m2_py.html index c2cf387a..7d952fc5 100644 --- a/tests/gold/html/omit_1/m2_py.html +++ b/tests/gold/html/omit_1/m2_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m2a = 1 

-

m2b = 2 

-
+

1m2a = 1 

+

2m2b = 2 

diff --git a/tests/gold/html/omit_1/m3_py.html b/tests/gold/html/omit_1/m3_py.html index f0d59a83..57ac11d7 100644 --- a/tests/gold/html/omit_1/m3_py.html +++ b/tests/gold/html/omit_1/m3_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m3a = 1 

-

m3b = 2 

-
+

1m3a = 1 

+

2m3b = 2 

diff --git a/tests/gold/html/omit_1/main_py.html b/tests/gold/html/omit_1/main_py.html index d9474b0b..987ca489 100644 --- a/tests/gold/html/omit_1/main_py.html +++ b/tests/gold/html/omit_1/main_py.html @@ -51,40 +51,22 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

-
+

1import m1 

+

2import m2 

+

3import m3 

+

4 

+

5a = 5 

+

6b = 6 

+

7 

+

8assert m1.m1a == 1 

+

9assert m2.m2a == 1 

+

10assert m3.m3a == 1 

diff --git a/tests/gold/html/omit_2/index.html b/tests/gold/html/omit_2/index.html index 5813c0dc..08210661 100644 --- a/tests/gold/html/omit_2/index.html +++ b/tests/gold/html/omit_2/index.html @@ -89,8 +89,8 @@ diff --git a/tests/gold/html/omit_2/m2_py.html b/tests/gold/html/omit_2/m2_py.html index c2cf387a..7d952fc5 100644 --- a/tests/gold/html/omit_2/m2_py.html +++ b/tests/gold/html/omit_2/m2_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m2a = 1 

-

m2b = 2 

-
+

1m2a = 1 

+

2m2b = 2 

diff --git a/tests/gold/html/omit_2/m3_py.html b/tests/gold/html/omit_2/m3_py.html index f0d59a83..57ac11d7 100644 --- a/tests/gold/html/omit_2/m3_py.html +++ b/tests/gold/html/omit_2/m3_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m3a = 1 

-

m3b = 2 

-
+

1m3a = 1 

+

2m3b = 2 

diff --git a/tests/gold/html/omit_2/main_py.html b/tests/gold/html/omit_2/main_py.html index d9474b0b..987ca489 100644 --- a/tests/gold/html/omit_2/main_py.html +++ b/tests/gold/html/omit_2/main_py.html @@ -51,40 +51,22 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

-
+

1import m1 

+

2import m2 

+

3import m3 

+

4 

+

5a = 5 

+

6b = 6 

+

7 

+

8assert m1.m1a == 1 

+

9assert m2.m2a == 1 

+

10assert m3.m3a == 1 

diff --git a/tests/gold/html/omit_3/index.html b/tests/gold/html/omit_3/index.html index 4ebcf4a4..043f14f8 100644 --- a/tests/gold/html/omit_3/index.html +++ b/tests/gold/html/omit_3/index.html @@ -82,8 +82,8 @@ diff --git a/tests/gold/html/omit_3/m3_py.html b/tests/gold/html/omit_3/m3_py.html index f0d59a83..57ac11d7 100644 --- a/tests/gold/html/omit_3/m3_py.html +++ b/tests/gold/html/omit_3/m3_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m3a = 1 

-

m3b = 2 

-
+

1m3a = 1 

+

2m3b = 2 

diff --git a/tests/gold/html/omit_3/main_py.html b/tests/gold/html/omit_3/main_py.html index d9474b0b..987ca489 100644 --- a/tests/gold/html/omit_3/main_py.html +++ b/tests/gold/html/omit_3/main_py.html @@ -51,40 +51,22 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

-
+

1import m1 

+

2import m2 

+

3import m3 

+

4 

+

5a = 5 

+

6b = 6 

+

7 

+

8assert m1.m1a == 1 

+

9assert m2.m2a == 1 

+

10assert m3.m3a == 1 

diff --git a/tests/gold/html/omit_4/index.html b/tests/gold/html/omit_4/index.html index e7588714..f1ac8ac0 100644 --- a/tests/gold/html/omit_4/index.html +++ b/tests/gold/html/omit_4/index.html @@ -89,8 +89,8 @@ diff --git a/tests/gold/html/omit_4/m1_py.html b/tests/gold/html/omit_4/m1_py.html index 238e4cbc..de55555f 100644 --- a/tests/gold/html/omit_4/m1_py.html +++ b/tests/gold/html/omit_4/m1_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m1a = 1 

-

m1b = 2 

-
+

1m1a = 1 

+

2m1b = 2 

diff --git a/tests/gold/html/omit_4/m3_py.html b/tests/gold/html/omit_4/m3_py.html index f0d59a83..57ac11d7 100644 --- a/tests/gold/html/omit_4/m3_py.html +++ b/tests/gold/html/omit_4/m3_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m3a = 1 

-

m3b = 2 

-
+

1m3a = 1 

+

2m3b = 2 

diff --git a/tests/gold/html/omit_4/main_py.html b/tests/gold/html/omit_4/main_py.html index d9474b0b..987ca489 100644 --- a/tests/gold/html/omit_4/main_py.html +++ b/tests/gold/html/omit_4/main_py.html @@ -51,40 +51,22 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

-
+

1import m1 

+

2import m2 

+

3import m3 

+

4 

+

5a = 5 

+

6b = 6 

+

7 

+

8assert m1.m1a == 1 

+

9assert m2.m2a == 1 

+

10assert m3.m3a == 1 

diff --git a/tests/gold/html/omit_5/index.html b/tests/gold/html/omit_5/index.html index e2c1a132..0e236a04 100644 --- a/tests/gold/html/omit_5/index.html +++ b/tests/gold/html/omit_5/index.html @@ -82,8 +82,8 @@ diff --git a/tests/gold/html/omit_5/m1_py.html b/tests/gold/html/omit_5/m1_py.html index 238e4cbc..de55555f 100644 --- a/tests/gold/html/omit_5/m1_py.html +++ b/tests/gold/html/omit_5/m1_py.html @@ -51,24 +51,14 @@
- - - - - -
-

1

-

2

-
-

m1a = 1 

-

m1b = 2 

-
+

1m1a = 1 

+

2m1b = 2 

diff --git a/tests/gold/html/omit_5/main_py.html b/tests/gold/html/omit_5/main_py.html index d9474b0b..987ca489 100644 --- a/tests/gold/html/omit_5/main_py.html +++ b/tests/gold/html/omit_5/main_py.html @@ -51,40 +51,22 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

-
+

1import m1 

+

2import m2 

+

3import m3 

+

4 

+

5a = 5 

+

6b = 6 

+

7 

+

8assert m1.m1a == 1 

+

9assert m2.m2a == 1 

+

10assert m3.m3a == 1 

diff --git a/tests/gold/html/other/blah_blah_other_py.html b/tests/gold/html/other/blah_blah_other_py.html index 215ee7f1..23d48ad0 100644 --- a/tests/gold/html/other/blah_blah_other_py.html +++ b/tests/gold/html/other/blah_blah_other_py.html @@ -3,7 +3,7 @@ - Coverage for /private/var/folders/j2/gr3cj3jn63s5q8g3bjvw57hm0000gp/T/coverage_test/tests_test_html_HtmlGoldTests_test_other_95946649/othersrc/other.py: 100% + Coverage for /private/var/folders/j2/gr3cj3jn63s5q8g3bjvw57hm0000gp/T/coverage_test/tests_test_html_HtmlGoldTests_test_other_86236073/othersrc/other.py: 100% @@ -16,7 +16,7 @@
- - - - - -
-

1

-

2

-

3

-

4

-
-

# A file in another directory. We're checking that it ends up in the 

-

# HTML report. 

-

 

-

print("This is the other src!") 

-
+

1# A file in another directory. We're checking that it ends up in the 

+

2# HTML report. 

+

3 

+

4print("This is the other src!") 

diff --git a/tests/gold/html/other/here_py.html b/tests/gold/html/other/here_py.html index 962b04c0..81f2e652 100644 --- a/tests/gold/html/other/here_py.html +++ b/tests/gold/html/other/here_py.html @@ -51,32 +51,18 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-
-

import other 

-

 

-

if 1 < 2: 

-

h = 3 

-

else: 

-

h = 4 

-
+

1import other 

+

2 

+

3if 1 < 2: 

+

4 h = 3 

+

5else: 

+

6 h = 4 

diff --git a/tests/gold/html/other/index.html b/tests/gold/html/other/index.html index 10d4ae9a..23bf5f08 100644 --- a/tests/gold/html/other/index.html +++ b/tests/gold/html/other/index.html @@ -60,7 +60,7 @@ - /private/var/folders/j2/gr3cj3jn63s5q8g3bjvw57hm0000gp/T/coverage_test/tests_test_html_HtmlGoldTests_test_other_95946649/othersrc/other.py + /private/var/folders/j2/gr3cj3jn63s5q8g3bjvw57hm0000gp/T/coverage_test/tests_test_html_HtmlGoldTests_test_other_86236073/othersrc/other.py 1 0 0 @@ -82,8 +82,8 @@ diff --git a/tests/gold/html/partial/index.html b/tests/gold/html/partial/index.html index 6ac43531..fb3b89ae 100644 --- a/tests/gold/html/partial/index.html +++ b/tests/gold/html/partial/index.html @@ -83,8 +83,8 @@ diff --git a/tests/gold/html/partial/partial_py.html b/tests/gold/html/partial/partial_py.html index 1638b761..97d60ba4 100644 --- a/tests/gold/html/partial/partial_py.html +++ b/tests/gold/html/partial/partial_py.html @@ -52,54 +52,29 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-

12

-

13

-

14

-

15

-

16

-

17

-
-

# partial branches and excluded lines 

-

a = 6 

-

 

-

4 ↛ 7line 4 didn't jump to line 7, because the condition on line 4 was never falsewhile "no peephole".upper(): # t4 

-

break 

-

 

-

while a: # pragma: no branch 

-

break 

-

 

-

if 0: 

-

never_happen() 

-

 

-

if 1: 

-

a = 21 

-

 

-

if a == 23: 

-

raise AssertionError("Can't") 

-
+

1# partial branches and excluded lines 

+

2a = 6 

+

3 

+

4while "no peephole".upper(): # t4 4 ↛ 7line 4 didn't jump to line 7, because the condition on line 4 was never false

+

5 break 

+

6 

+

7while a: # pragma: no branch 

+

8 break 

+

9 

+

10if 0: 

+

11 never_happen() 

+

12 

+

13if 1: 

+

14 a = 21 

+

15 

+

16if a == 23: 

+

17 raise AssertionError("Can't") 

diff --git a/tests/gold/html/styled/a_py.html b/tests/gold/html/styled/a_py.html index f6f183b3..9af1988b 100644 --- a/tests/gold/html/styled/a_py.html +++ b/tests/gold/html/styled/a_py.html @@ -52,30 +52,17 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-
-

if 1 < 2: 

-

# Needed a < to look at HTML entities. 

-

a = 3 

-

else: 

-

a = 4 

-
+

1if 1 < 2: 

+

2 # Needed a < to look at HTML entities. 

+

3 a = 3 

+

4else: 

+

5 a = 4 

diff --git a/tests/gold/html/styled/index.html b/tests/gold/html/styled/index.html index 1f86b772..0da7a472 100644 --- a/tests/gold/html/styled/index.html +++ b/tests/gold/html/styled/index.html @@ -76,8 +76,8 @@ diff --git a/tests/gold/html/unicode/index.html b/tests/gold/html/unicode/index.html index 35a98a9e..492b5616 100644 --- a/tests/gold/html/unicode/index.html +++ b/tests/gold/html/unicode/index.html @@ -75,8 +75,8 @@ diff --git a/tests/gold/html/unicode/unicode_py.html b/tests/gold/html/unicode/unicode_py.html index caad05ab..e10fde52 100644 --- a/tests/gold/html/unicode/unicode_py.html +++ b/tests/gold/html/unicode/unicode_py.html @@ -51,30 +51,17 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-
-

# -*- coding: utf-8 -*- 

-

# A Python source file with exotic characters. 

-

 

-

upside_down = "ʎd˙ǝbɐɹǝʌoɔ" 

-

surrogate = "db40,dd00: x󠄀" 

-
+

1# -*- coding: utf-8 -*- 

+

2# A Python source file with exotic characters. 

+

3 

+

4upside_down = "ʎd˙ǝbɐɹǝʌoɔ" 

+

5surrogate = "db40,dd00: x󠄀" 

-- cgit v1.2.1