Skip to content

Commit e88e083

Browse files
committed
Merge pull request #2 from pjdelport/use-backports.test.support
Use backports.test.support rather than our own copy of script_helper
2 parents ec3d279 + b9f5f6b commit e88e083

File tree

4 files changed

+4
-149
lines changed

4 files changed

+4
-149
lines changed

.coveragerc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,3 @@ branch = True
55
source =
66
src
77
tests
8-
9-
omit =
10-
# This is purely backported test support code:
11-
# we don't use all its functionality.
12-
tests/script_helper.py

tests/script_helper.py

Lines changed: 0 additions & 143 deletions
This file was deleted.

tests/test_weakref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from backports import weakref
1515

1616
import unittest
17-
import script_helper
17+
from backports.test.support import script_helper
1818

1919

2020
# Used by FinalizeTestCase as a global that may be replaced by None

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ envlist = py{27,34,35,py}
1313
passenv = TOXENV CI TRAVIS TRAVIS_*
1414

1515
deps =
16+
# Test-only dependencies
17+
backports.test.support
18+
1619
# codecov.io reporting (mainly for Travis)
1720
codecov: coverage
1821
codecov: codecov >=1.4.0

0 commit comments

Comments
 (0)