From efc858314636ea865d49110c5b4ac164a91135a4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 17 Oct 2021 11:00:44 -0400 Subject: chore: updated HTML gold files --- tests/gold/html/a/a_py.html | 30 +++++++++++++++-------- tests/gold/html/a/index.html | 20 ++++++++-------- tests/gold/html/b_branch/b_py.html | 31 ++++++++++++++++-------- tests/gold/html/b_branch/index.html | 20 ++++++++-------- tests/gold/html/bom/bom_py.html | 30 +++++++++++++++-------- tests/gold/html/bom/index.html | 20 ++++++++-------- tests/gold/html/isolatin1/index.html | 20 ++++++++-------- tests/gold/html/isolatin1/isolatin1_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_1/index.html | 20 ++++++++-------- tests/gold/html/omit_1/m1_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_1/m2_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_1/m3_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_1/main_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_2/index.html | 20 ++++++++-------- tests/gold/html/omit_2/m2_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_2/m3_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_2/main_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_3/index.html | 20 ++++++++-------- tests/gold/html/omit_3/m3_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_3/main_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_4/index.html | 20 ++++++++-------- tests/gold/html/omit_4/m1_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_4/m3_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_4/main_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_5/index.html | 20 ++++++++-------- tests/gold/html/omit_5/m1_py.html | 30 +++++++++++++++-------- tests/gold/html/omit_5/main_py.html | 30 +++++++++++++++-------- tests/gold/html/other/blah_blah_other_py.html | 34 +++++++++++++++++---------- tests/gold/html/other/here_py.html | 30 +++++++++++++++-------- tests/gold/html/other/index.html | 22 ++++++++--------- tests/gold/html/partial/index.html | 20 ++++++++-------- tests/gold/html/partial/partial_py.html | 31 ++++++++++++++++-------- tests/gold/html/partial_626/index.html | 20 ++++++++-------- tests/gold/html/partial_626/partial_py.html | 31 ++++++++++++++++-------- tests/gold/html/styled/a_py.html | 30 +++++++++++++++-------- tests/gold/html/styled/index.html | 20 ++++++++-------- tests/gold/html/unicode/index.html | 20 ++++++++-------- tests/gold/html/unicode/unicode_py.html | 30 +++++++++++++++-------- 38 files changed, 626 insertions(+), 383 deletions(-) diff --git a/tests/gold/html/a/a_py.html b/tests/gold/html/a/a_py.html index 5bfb1c89..e510e72e 100644 --- a/tests/gold/html/a/a_py.html +++ b/tests/gold/html/a/a_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 2520e156..a22605a2 100644 --- a/tests/gold/html/a/index.html +++ b/tests/gold/html/a/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -72,14 +72,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/b_branch/b_py.html b/tests/gold/html/b_branch/b_py.html index 2be085b9..d6173739 100644 --- a/tests/gold/html/b_branch/b_py.html +++ b/tests/gold/html/b_branch/b_py.html @@ -15,7 +15,18 @@ - -
+ +
-
+ +

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

@@ -80,14 +91,14 @@

25 pass 

26 

27three() 

-
- + diff --git a/tests/gold/html/b_branch/index.html b/tests/gold/html/b_branch/index.html index 28459997..349bc09e 100644 --- a/tests/gold/html/b_branch/index.html +++ b/tests/gold/html/b_branch/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -80,14 +80,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/bom/bom_py.html b/tests/gold/html/bom/bom_py.html index cf0de385..d4a88733 100644 --- a/tests/gold/html/bom/bom_py.html +++ b/tests/gold/html/bom/bom_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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

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

3 

@@ -63,14 +73,14 @@

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 598116cd..dd5f7751 100644 --- a/tests/gold/html/bom/index.html +++ b/tests/gold/html/bom/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -72,14 +72,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/isolatin1/index.html b/tests/gold/html/isolatin1/index.html index 3a4700b3..370aa06e 100644 --- a/tests/gold/html/isolatin1/index.html +++ b/tests/gold/html/isolatin1/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -72,14 +72,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/isolatin1/isolatin1_py.html b/tests/gold/html/isolatin1/isolatin1_py.html index 9a589137..1f214b3e 100644 --- a/tests/gold/html/isolatin1/isolatin1_py.html +++ b/tests/gold/html/isolatin1/isolatin1_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 5590b82b..47847292 100644 --- a/tests/gold/html/omit_1/index.html +++ b/tests/gold/html/omit_1/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -93,14 +93,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/omit_1/m1_py.html b/tests/gold/html/omit_1/m1_py.html index 2257fd09..5fd5e702 100644 --- a/tests/gold/html/omit_1/m1_py.html +++ b/tests/gold/html/omit_1/m1_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 0a5ca20e..e56e55fb 100644 --- a/tests/gold/html/omit_1/m2_py.html +++ b/tests/gold/html/omit_1/m2_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 f9f56f7c..498075ad 100644 --- a/tests/gold/html/omit_1/m3_py.html +++ b/tests/gold/html/omit_1/m3_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 5ff014ae..00a59306 100644 --- a/tests/gold/html/omit_1/main_py.html +++ b/tests/gold/html/omit_1/main_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

1import m1 

2import m2 

3import m3 

@@ -62,14 +72,14 @@

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 ebe8195b..56386fb5 100644 --- a/tests/gold/html/omit_2/index.html +++ b/tests/gold/html/omit_2/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -86,14 +86,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/omit_2/m2_py.html b/tests/gold/html/omit_2/m2_py.html index 0a5ca20e..e56e55fb 100644 --- a/tests/gold/html/omit_2/m2_py.html +++ b/tests/gold/html/omit_2/m2_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 f9f56f7c..498075ad 100644 --- a/tests/gold/html/omit_2/m3_py.html +++ b/tests/gold/html/omit_2/m3_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 5ff014ae..00a59306 100644 --- a/tests/gold/html/omit_2/main_py.html +++ b/tests/gold/html/omit_2/main_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

1import m1 

2import m2 

3import m3 

@@ -62,14 +72,14 @@

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 8f304c47..846d1c13 100644 --- a/tests/gold/html/omit_3/index.html +++ b/tests/gold/html/omit_3/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -79,14 +79,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/omit_3/m3_py.html b/tests/gold/html/omit_3/m3_py.html index f9f56f7c..498075ad 100644 --- a/tests/gold/html/omit_3/m3_py.html +++ b/tests/gold/html/omit_3/m3_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 5ff014ae..00a59306 100644 --- a/tests/gold/html/omit_3/main_py.html +++ b/tests/gold/html/omit_3/main_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

1import m1 

2import m2 

3import m3 

@@ -62,14 +72,14 @@

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 96e45baf..2ae1b41a 100644 --- a/tests/gold/html/omit_4/index.html +++ b/tests/gold/html/omit_4/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -86,14 +86,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/omit_4/m1_py.html b/tests/gold/html/omit_4/m1_py.html index 2257fd09..5fd5e702 100644 --- a/tests/gold/html/omit_4/m1_py.html +++ b/tests/gold/html/omit_4/m1_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 f9f56f7c..498075ad 100644 --- a/tests/gold/html/omit_4/m3_py.html +++ b/tests/gold/html/omit_4/m3_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 5ff014ae..00a59306 100644 --- a/tests/gold/html/omit_4/main_py.html +++ b/tests/gold/html/omit_4/main_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

1import m1 

2import m2 

3import m3 

@@ -62,14 +72,14 @@

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 8c1c9524..83f93826 100644 --- a/tests/gold/html/omit_5/index.html +++ b/tests/gold/html/omit_5/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -79,14 +79,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/omit_5/m1_py.html b/tests/gold/html/omit_5/m1_py.html index 2257fd09..5fd5e702 100644 --- a/tests/gold/html/omit_5/m1_py.html +++ b/tests/gold/html/omit_5/m1_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 5ff014ae..00a59306 100644 --- a/tests/gold/html/omit_5/main_py.html +++ b/tests/gold/html/omit_5/main_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

1import m1 

2import m2 

3import m3 

@@ -62,14 +72,14 @@

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 b286e1e2..d5d3ce9a 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_58265363/othersrc/other.py: 100% + Coverage for /private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-831/t9/othersrc/other.py: 100% @@ -15,9 +15,19 @@ - -
+ +
-
+ +

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 c9cf2a27..44a4ec23 100644 --- a/tests/gold/html/other/here_py.html +++ b/tests/gold/html/other/here_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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 33c3c319..0296def0 100644 --- a/tests/gold/html/other/index.html +++ b/tests/gold/html/other/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -61,7 +61,7 @@ - + @@ -79,14 +79,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/partial/index.html b/tests/gold/html/partial/index.html index 81180bf6..9eb71f1a 100644 --- a/tests/gold/html/partial/index.html +++ b/tests/gold/html/partial/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
/private/var/folders/j2/gr3cj3jn63s5q8g3bjvw57hm0000gp/T/coverage_test/tests_test_html_HtmlGoldTests_test_other_58265363/othersrc/other.py/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-831/t9/othersrc/other.py 1 0 0
@@ -80,14 +80,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/partial/partial_py.html b/tests/gold/html/partial/partial_py.html index 319c5f53..a330b23b 100644 --- a/tests/gold/html/partial/partial_py.html +++ b/tests/gold/html/partial/partial_py.html @@ -15,7 +15,18 @@ - -
+ +
-
+ +

1# partial branches and excluded lines 

2a = 2 

3 

@@ -70,14 +81,14 @@

15 

16if a == 16: 

17 raise ZeroDivisionError("17") 

-
- + diff --git a/tests/gold/html/partial_626/index.html b/tests/gold/html/partial_626/index.html index f1b1465e..d044426d 100644 --- a/tests/gold/html/partial_626/index.html +++ b/tests/gold/html/partial_626/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -80,14 +80,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/partial_626/partial_py.html b/tests/gold/html/partial_626/partial_py.html index adb0aaf0..ac7d9b81 100644 --- a/tests/gold/html/partial_626/partial_py.html +++ b/tests/gold/html/partial_626/partial_py.html @@ -15,7 +15,18 @@ - -
+ +
-
+ +

1# partial branches and excluded lines 

2a = 2 

3 

@@ -70,14 +81,14 @@

15 

16if a == 16: 

17 raise ZeroDivisionError("17") 

-
- + diff --git a/tests/gold/html/styled/a_py.html b/tests/gold/html/styled/a_py.html index 662d9336..07a3298e 100644 --- a/tests/gold/html/styled/a_py.html +++ b/tests/gold/html/styled/a_py.html @@ -16,7 +16,17 @@ - -
+ +
-
+ +

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 fe1b125a..77b2faca 100644 --- a/tests/gold/html/styled/index.html +++ b/tests/gold/html/styled/index.html @@ -16,7 +16,7 @@ - -
+ +
-
+ +
@@ -73,14 +73,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/unicode/index.html b/tests/gold/html/unicode/index.html index 3d5989fe..246b70c4 100644 --- a/tests/gold/html/unicode/index.html +++ b/tests/gold/html/unicode/index.html @@ -15,7 +15,7 @@ - -
+ +
-
+ +
@@ -72,14 +72,14 @@

No items found using the specified filter.

- - + diff --git a/tests/gold/html/unicode/unicode_py.html b/tests/gold/html/unicode/unicode_py.html index 95d331ae..d3959d07 100644 --- a/tests/gold/html/unicode/unicode_py.html +++ b/tests/gold/html/unicode/unicode_py.html @@ -15,7 +15,17 @@ - -
+ +
-
+ +

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