Skip to content

Commit 75506bf

Browse files
committed
Use coverage.py 4.0a5, and remove the function we didn't need.
1 parent 57916dd commit 75506bf

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

django_coverage_plugin/plugin.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,6 @@ def statements(self):
226226

227227
return source_lines
228228

229-
# Note: this function won't be needed after coverage.py 4.0a5.
230-
def no_branch_lines(self):
231-
return set()
232-
233229

234230
def running_sum(seq):
235231
total = 0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# If you change this file, don't forget to update tox.ini and setup.py also.
2-
coverage >= 4.0a4
2+
coverage >= 4.0a5
33
Django >= 1.4
44
six >= 1.4.0
55
tox >= 1.8

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
install_requires=[
1414
# If you change this, update tox.ini and requirements.txt also.
1515
'Django >= 1.4',
16-
'coverage >= 4.0a4',
16+
'coverage >= 4.0a5',
1717
'six >= 1.4.0',
1818
],
1919
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ deps =
1212
django17: Django >=1.7, <1.8
1313
django18: Django >=1.8a1, <1.9
1414
six >= 1.4.0
15-
coverage >=4.0a4
15+
coverage >=4.0a5
1616

1717
commands =
1818
{envpython} -c "import tests.banner"

0 commit comments

Comments
 (0)