• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

smythi93 / Tests4Py / 30040549735

23 Jul 2026 08:04PM UTC coverage: 23.663% (-21.5%) from 45.174%
30040549735

push

github

web-flow
Merge pull request #106 from smythi93/dev

Release 1.0.0 — complete benchmark coverage (328/328 reproducible bugs)

11882 of 64778 new or added lines in 1205 files covered. (18.34%)

46 existing lines in 14 files now uncovered.

18085 of 76426 relevant lines covered (23.66%)

0.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/tests4py/projects/resources/matplotlib/bug_14/unittests.py
NEW
1
import unittest
×
NEW
2
import matplotlib
×
NEW
3
matplotlib.use('Agg')
×
NEW
4
import matplotlib.pyplot as plt
×
5

NEW
6
class TestsFailing(unittest.TestCase):
×
7

NEW
8
    def test_diversity_1(self):
×
NEW
9
        fig, ax = plt.subplots()
×
NEW
10
        t = ax.set_xlabel('value', size=17.9, fontproperties='serif')
×
NEW
11
        self.assertEqual(17.9, t.get_size())
×
NEW
12
        plt.close(fig)
×
13

NEW
14
    def test_diversity_2(self):
×
NEW
15
        fig, ax = plt.subplots()
×
NEW
16
        t = ax.set_xlabel('value', size=47.5, fontproperties='fantasy')
×
NEW
17
        self.assertEqual(47.5, t.get_size())
×
NEW
18
        plt.close(fig)
×
19

NEW
20
    def test_diversity_3(self):
×
NEW
21
        fig, ax = plt.subplots()
×
NEW
22
        t = ax.set_xlabel('value', size=53.9, fontproperties='fantasy')
×
NEW
23
        self.assertEqual(53.9, t.get_size())
×
NEW
24
        plt.close(fig)
×
25

NEW
26
    def test_diversity_4(self):
×
NEW
27
        fig, ax = plt.subplots()
×
NEW
28
        t = ax.set_xlabel('value', size=20.5, fontproperties='monospace')
×
NEW
29
        self.assertEqual(20.5, t.get_size())
×
NEW
30
        plt.close(fig)
×
31

NEW
32
    def test_diversity_5(self):
×
NEW
33
        fig, ax = plt.subplots()
×
NEW
34
        t = ax.set_xlabel('value', size=51.8, fontproperties='serif')
×
NEW
35
        self.assertEqual(51.8, t.get_size())
×
NEW
36
        plt.close(fig)
×
37

NEW
38
    def test_diversity_6(self):
×
NEW
39
        fig, ax = plt.subplots()
×
NEW
40
        t = ax.set_xlabel('value', size=41.7, fontproperties='fantasy')
×
NEW
41
        self.assertEqual(41.7, t.get_size())
×
NEW
42
        plt.close(fig)
×
43

NEW
44
    def test_diversity_7(self):
×
NEW
45
        fig, ax = plt.subplots()
×
NEW
46
        t = ax.set_xlabel('value', size=50.9, fontproperties='monospace')
×
NEW
47
        self.assertEqual(50.9, t.get_size())
×
NEW
48
        plt.close(fig)
×
49

NEW
50
    def test_diversity_8(self):
×
NEW
51
        fig, ax = plt.subplots()
×
NEW
52
        t = ax.set_xlabel('value', size=43.3, fontproperties='serif')
×
NEW
53
        self.assertEqual(43.3, t.get_size())
×
NEW
54
        plt.close(fig)
×
55

NEW
56
    def test_diversity_9(self):
×
NEW
57
        fig, ax = plt.subplots()
×
NEW
58
        t = ax.set_xlabel('value', size=56.0, fontproperties='cursive')
×
NEW
59
        self.assertEqual(56.0, t.get_size())
×
NEW
60
        plt.close(fig)
×
61

NEW
62
    def test_diversity_10(self):
×
NEW
63
        fig, ax = plt.subplots()
×
NEW
64
        t = ax.set_xlabel('value', size=58.8, fontproperties='fantasy')
×
NEW
65
        self.assertEqual(58.8, t.get_size())
×
NEW
66
        plt.close(fig)
×
67

NEW
68
class TestsPassing(unittest.TestCase):
×
69

NEW
70
    def test_diversity_1(self):
×
NEW
71
        fig, ax = plt.subplots()
×
NEW
72
        t = ax.set_xlabel('value', fontproperties='cursive', size=41.6)
×
NEW
73
        self.assertEqual(41.6, t.get_size())
×
NEW
74
        plt.close(fig)
×
75

NEW
76
    def test_diversity_2(self):
×
NEW
77
        fig, ax = plt.subplots()
×
NEW
78
        t = ax.set_xlabel('value', fontproperties='monospace', size=17.7)
×
NEW
79
        self.assertEqual(17.7, t.get_size())
×
NEW
80
        plt.close(fig)
×
81

NEW
82
    def test_diversity_3(self):
×
NEW
83
        fig, ax = plt.subplots()
×
NEW
84
        t = ax.set_xlabel('value', fontproperties='fantasy', size=19.2)
×
NEW
85
        self.assertEqual(19.2, t.get_size())
×
NEW
86
        plt.close(fig)
×
87

NEW
88
    def test_diversity_4(self):
×
NEW
89
        fig, ax = plt.subplots()
×
NEW
90
        t = ax.set_xlabel('value', fontproperties='cursive', size=16.5)
×
NEW
91
        self.assertEqual(16.5, t.get_size())
×
NEW
92
        plt.close(fig)
×
93

NEW
94
    def test_diversity_5(self):
×
NEW
95
        fig, ax = plt.subplots()
×
NEW
96
        t = ax.set_xlabel('value', fontproperties='cursive', size=15.4)
×
NEW
97
        self.assertEqual(15.4, t.get_size())
×
NEW
98
        plt.close(fig)
×
99

NEW
100
    def test_diversity_6(self):
×
NEW
101
        fig, ax = plt.subplots()
×
NEW
102
        t = ax.set_xlabel('value', fontproperties='serif', size=52.9)
×
NEW
103
        self.assertEqual(52.9, t.get_size())
×
NEW
104
        plt.close(fig)
×
105

NEW
106
    def test_diversity_7(self):
×
NEW
107
        fig, ax = plt.subplots()
×
NEW
108
        t = ax.set_xlabel('value', fontproperties='cursive', size=22.8)
×
NEW
109
        self.assertEqual(22.8, t.get_size())
×
NEW
110
        plt.close(fig)
×
111

NEW
112
    def test_diversity_8(self):
×
NEW
113
        fig, ax = plt.subplots()
×
NEW
114
        t = ax.set_xlabel('value', fontproperties='serif', size=44.3)
×
NEW
115
        self.assertEqual(44.3, t.get_size())
×
NEW
116
        plt.close(fig)
×
117

NEW
118
    def test_diversity_9(self):
×
NEW
119
        fig, ax = plt.subplots()
×
NEW
120
        t = ax.set_xlabel('value', fontproperties='fantasy', size=48.7)
×
NEW
121
        self.assertEqual(48.7, t.get_size())
×
NEW
122
        plt.close(fig)
×
123

NEW
124
    def test_diversity_10(self):
×
NEW
125
        fig, ax = plt.subplots()
×
NEW
126
        t = ax.set_xlabel('value', fontproperties='cursive', size=24.1)
×
NEW
127
        self.assertEqual(24.1, t.get_size())
×
NEW
128
        plt.close(fig)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc