1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 09:13:23 +00:00

bump supported python3 version to 3.4

This commit is contained in:
Kevin McCarthy
2014-04-23 18:58:17 -10:00
parent 59f3216d44
commit bd2d2cea72
3 changed files with 13 additions and 12 deletions

View File

@@ -14,11 +14,11 @@ matrix:
- env: WITH_LIB="boto" - env: WITH_LIB="boto"
exclude: exclude:
- env: WITH_LIB="boto" - env: WITH_LIB="boto"
python: 3.3 python: 3.4
python: python:
- 2.6 - 2.6
- 2.7 - 2.7
- 3.3 - 3.4
- pypy - pypy
install: install:
- pip install PyYAML pytest --use-mirrors - pip install PyYAML pytest --use-mirrors

20
tox.ini
View File

@@ -7,19 +7,19 @@
envlist = envlist =
py26 py26
py27 py27
py33 py34
pypy pypy
py26requests py26requests
py27requests py27requests
py33requests py34requests
pypyrequests pypyrequests
py26oldrequests py26oldrequests
py27oldrequests py27oldrequests
py33oldrequests py34oldrequests
pypyoldrequests pypyoldrequests
py26httplib2 py26httplib2
py27httplib2 py27httplib2
py33httplib2 py34httplib2
pypyhttplib2 pypyhttplib2
[testenv] [testenv]
@@ -46,8 +46,8 @@ deps =
PyYAML PyYAML
requests==1.2.3 requests==1.2.3
[testenv:py33oldrequests] [testenv:py34oldrequests]
basepython = python3.3 basepython = python3.4
deps = deps =
mock mock
pytest pytest
@@ -78,8 +78,8 @@ deps =
PyYAML PyYAML
requests requests
[testenv:py33requests] [testenv:py34requests]
basepython = python3.3 basepython = python3.4
deps = deps =
mock mock
pytest pytest
@@ -110,8 +110,8 @@ deps =
PyYAML PyYAML
httplib2 httplib2
[testenv:py33httplib2] [testenv:py34httplib2]
basepython = python3.3 basepython = python3.4
deps = deps =
mock mock
pytest pytest

View File

@@ -228,6 +228,7 @@ class VCRConnection:
reset() reset()
self.real_connection = self._baseclass(*args, **kwargs) self.real_connection = self._baseclass(*args, **kwargs)
install(self.cassette) install(self.cassette)
self.sock = self.real_connection.sock
class VCRHTTPConnection(VCRConnection): class VCRHTTPConnection(VCRConnection):