Skip to content

Commit b2cb87f

Browse files
authored
Merge pull request #6440 from blueyed/py351
ci: Travis: Python 3.5.1 via Trusty
2 parents 8eec42f + f0c7f21 commit b2cb87f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ jobs:
5252
- env: TOXENV=pypy3-xdist
5353
python: 'pypy3'
5454

55-
- env: TOXENV=py35-xdist
56-
python: '3.5'
55+
# Coverage for Python 3.5.{0,1} specific code, mostly typing related.
56+
- env: TOXENV=py35 PYTEST_COVERAGE=1 PYTEST_ADDOPTS="-k test_raises_cyclic_reference"
57+
python: '3.5.1'
58+
dist: trusty
5759

5860
# Specialized factors for py37.
5961
- env: TOXENV=py37-pluggymaster-xdist

src/_pytest/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def getvalue(self) -> str:
371371
return self.buffer.getvalue().decode("UTF-8")
372372

373373

374-
if sys.version_info < (3, 5, 2): # pragma: no cover
374+
if sys.version_info < (3, 5, 2):
375375

376376
def overload(f): # noqa: F811
377377
return f

testing/python/raises.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def __call__(self):
166166
# Early versions of Python 3.5 have some bug causing the
167167
# __call__ frame to still refer to t even after everything
168168
# is done. This makes the test pass for them.
169-
if sys.version_info < (3, 5, 2): # pragma: no cover
169+
if sys.version_info < (3, 5, 2):
170170
del self
171171
raise ValueError
172172

0 commit comments

Comments
 (0)