• 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_19/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 = plt.figure(figsize=(7.33, 7.92))
×
NEW
10
        ax = fig.add_subplot(projection='polar')
×
NEW
11
        ax.relim()
×
NEW
12
        ax.autoscale_view()
×
NEW
13
        fig.canvas.draw()
×
NEW
14
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
15
        plt.close('all')
×
16

NEW
17
    def test_diversity_2(self):
×
NEW
18
        fig = plt.figure(figsize=(4.47, 5.21))
×
NEW
19
        ax = fig.add_subplot(projection='polar')
×
NEW
20
        ax.autoscale()
×
NEW
21
        fig.canvas.draw()
×
NEW
22
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
23
        plt.close('all')
×
24

NEW
25
    def test_diversity_3(self):
×
NEW
26
        plt.figure(figsize=(5.39, 7.71))
×
NEW
27
        plt.polar()
×
NEW
28
        ax = plt.gca()
×
NEW
29
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
30
        plt.close('all')
×
31

NEW
32
    def test_diversity_4(self):
×
NEW
33
        plt.figure(figsize=(5.24, 5.34))
×
NEW
34
        plt.polar()
×
NEW
35
        ax = plt.gca()
×
NEW
36
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
37
        plt.close('all')
×
38

NEW
39
    def test_diversity_5(self):
×
NEW
40
        fig = plt.figure(figsize=(7.9, 4.25))
×
NEW
41
        ax = fig.add_subplot(projection='polar')
×
NEW
42
        ax.relim()
×
NEW
43
        ax.autoscale_view()
×
NEW
44
        fig.canvas.draw()
×
NEW
45
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
46
        plt.close('all')
×
47

NEW
48
    def test_diversity_6(self):
×
NEW
49
        plt.figure(figsize=(3.11, 7.94))
×
NEW
50
        plt.polar()
×
NEW
51
        ax = plt.gca()
×
NEW
52
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
53
        plt.close('all')
×
54

NEW
55
    def test_diversity_7(self):
×
NEW
56
        fig = plt.figure(figsize=(6.0, 4.3))
×
NEW
57
        ax = fig.add_subplot(projection='polar')
×
NEW
58
        ax.relim()
×
NEW
59
        ax.autoscale_view()
×
NEW
60
        fig.canvas.draw()
×
NEW
61
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
62
        plt.close('all')
×
63

NEW
64
    def test_diversity_8(self):
×
NEW
65
        fig = plt.figure(figsize=(5.04, 4.71))
×
NEW
66
        ax = fig.add_subplot(projection='polar')
×
NEW
67
        ax.relim()
×
NEW
68
        ax.autoscale_view()
×
NEW
69
        fig.canvas.draw()
×
NEW
70
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
71
        plt.close('all')
×
72

NEW
73
    def test_diversity_9(self):
×
NEW
74
        fig = plt.figure(figsize=(3.97, 5.94))
×
NEW
75
        ax = fig.add_subplot(projection='polar')
×
NEW
76
        ax.autoscale()
×
NEW
77
        fig.canvas.draw()
×
NEW
78
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
79
        plt.close('all')
×
80

NEW
81
    def test_diversity_10(self):
×
NEW
82
        fig = plt.figure(figsize=(5.47, 7.86))
×
NEW
83
        ax = fig.add_subplot(projection='polar')
×
NEW
84
        ax.autoscale()
×
NEW
85
        fig.canvas.draw()
×
NEW
86
        self.assertEqual([0.0, 1.05], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
87
        plt.close('all')
×
88

NEW
89
class TestsPassing(unittest.TestCase):
×
90

NEW
91
    def test_diversity_1(self):
×
NEW
92
        fig = plt.figure(figsize=(7.71, 3.44))
×
NEW
93
        ax = fig.add_subplot(projection='polar')
×
NEW
94
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
95
        plt.close('all')
×
96

NEW
97
    def test_diversity_2(self):
×
NEW
98
        fig = plt.figure(figsize=(6.73, 4.43))
×
NEW
99
        ax = fig.add_subplot(projection='polar')
×
NEW
100
        fig.canvas.draw()
×
NEW
101
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
102
        plt.close('all')
×
103

NEW
104
    def test_diversity_3(self):
×
NEW
105
        fig = plt.figure(figsize=(6.39, 3.78))
×
NEW
106
        ax = fig.add_subplot(projection='polar')
×
NEW
107
        fig.canvas.draw()
×
NEW
108
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
109
        plt.close('all')
×
110

NEW
111
    def test_diversity_4(self):
×
NEW
112
        fig = plt.figure(figsize=(7.75, 7.93))
×
NEW
113
        ax = fig.add_subplot(projection='polar')
×
NEW
114
        fig.canvas.draw()
×
NEW
115
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
116
        plt.close('all')
×
117

NEW
118
    def test_diversity_5(self):
×
NEW
119
        fig = plt.figure(figsize=(7.93, 7.26))
×
NEW
120
        ax = fig.add_subplot(projection='polar')
×
NEW
121
        fig.canvas.draw()
×
NEW
122
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
123
        plt.close('all')
×
124

NEW
125
    def test_diversity_6(self):
×
NEW
126
        fig = plt.figure(figsize=(3.46, 3.06))
×
NEW
127
        ax = fig.add_subplot(projection='polar')
×
NEW
128
        fig.canvas.draw()
×
NEW
129
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
130
        plt.close('all')
×
131

NEW
132
    def test_diversity_7(self):
×
NEW
133
        fig = plt.figure(figsize=(3.33, 3.78))
×
NEW
134
        ax = fig.add_subplot(projection='polar')
×
NEW
135
        fig.canvas.draw()
×
NEW
136
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
137
        plt.close('all')
×
138

NEW
139
    def test_diversity_8(self):
×
NEW
140
        fig = plt.figure(figsize=(7.49, 7.44))
×
NEW
141
        ax = fig.add_subplot(projection='polar')
×
NEW
142
        fig.canvas.draw()
×
NEW
143
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
144
        plt.close('all')
×
145

NEW
146
    def test_diversity_9(self):
×
NEW
147
        fig = plt.figure(figsize=(7.7, 5.63))
×
NEW
148
        ax = fig.add_subplot(projection='polar')
×
NEW
149
        fig.canvas.draw()
×
NEW
150
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
151
        plt.close('all')
×
152

NEW
153
    def test_diversity_10(self):
×
NEW
154
        fig = plt.figure(figsize=(6.81, 5.83))
×
NEW
155
        ax = fig.add_subplot(projection='polar')
×
NEW
156
        fig.canvas.draw()
×
NEW
157
        self.assertEqual([0.0, 1.0], [round(float(ax.get_rmin()), 4), round(float(ax.get_rmax()), 4)])
×
NEW
158
        plt.close('all')
×
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