Skip to content

Commit 5378120

Browse files
committed
Use unittest-mixins instead of coverage.test_helpers
1 parent 00a587d commit 5378120

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/plugin_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import re
99
import unittest
1010

11-
import coverage
12-
from coverage.test_helpers import TempDirMixin
11+
from unittest_mixins import StdStreamCapturingMixin, TempDirMixin
1312

13+
import coverage
1414
import django
1515
from django.conf import settings
1616

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ envlist =
2121

2222
[testenv]
2323
deps =
24+
unittest-mixins==1.0
2425
django14: Django >=1.4, <1.5
2526
django15: Django >=1.5, <1.6
2627
django16: Django >=1.6, <1.7

0 commit comments

Comments
 (0)