Commit ec2d1f4e authored by Jason Madden's avatar Jason Madden

Debugging coverage.

parent 1b4e2f68
language: python
sudo: false
python:
- 2.6
# - 2.6
- 2.7
- pypy
- 3.3
- 3.4
- 3.5
# - pypy
# - 3.3
# - 3.4
# - 3.5
env:
- LINT=true
- LINT=false
......
......@@ -125,12 +125,15 @@ def discover(tests=None, ignore=None, coverage=False):
ignore = set(ignore or [])
if coverage:
ignore.update(IGNORE_COVERAGE)
print("Ignoring", ignore)
if not tests:
tests = set(glob.glob('test_*.py')) - set(['test_support.py'])
if ignore:
tests -= ignore
tests = sorted(tests)
if coverage:
print("Tests", tests)
to_process = []
default_options = {'timeout': TIMEOUT}
......
......@@ -164,6 +164,7 @@ if COVERAGE:
FAILING_TESTS += [
'FLAKY test__issue302monkey.py',
'FLAKY test__example_portforwarder.py',
'FLAKY test__threading_vs_settrace.py',
]
FAILING_TESTS = [x.strip() for x in FAILING_TESTS if x.strip()]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment