mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
bump supported python3 version to 3.4
This commit is contained in:
@@ -14,11 +14,11 @@ matrix:
|
||||
- env: WITH_LIB="boto"
|
||||
exclude:
|
||||
- env: WITH_LIB="boto"
|
||||
python: 3.3
|
||||
python: 3.4
|
||||
python:
|
||||
- 2.6
|
||||
- 2.7
|
||||
- 3.3
|
||||
- 3.4
|
||||
- pypy
|
||||
install:
|
||||
- pip install PyYAML pytest --use-mirrors
|
||||
|
||||
20
tox.ini
20
tox.ini
@@ -7,19 +7,19 @@
|
||||
envlist =
|
||||
py26
|
||||
py27
|
||||
py33
|
||||
py34
|
||||
pypy
|
||||
py26requests
|
||||
py27requests
|
||||
py33requests
|
||||
py34requests
|
||||
pypyrequests
|
||||
py26oldrequests
|
||||
py27oldrequests
|
||||
py33oldrequests
|
||||
py34oldrequests
|
||||
pypyoldrequests
|
||||
py26httplib2
|
||||
py27httplib2
|
||||
py33httplib2
|
||||
py34httplib2
|
||||
pypyhttplib2
|
||||
|
||||
[testenv]
|
||||
@@ -46,8 +46,8 @@ deps =
|
||||
PyYAML
|
||||
requests==1.2.3
|
||||
|
||||
[testenv:py33oldrequests]
|
||||
basepython = python3.3
|
||||
[testenv:py34oldrequests]
|
||||
basepython = python3.4
|
||||
deps =
|
||||
mock
|
||||
pytest
|
||||
@@ -78,8 +78,8 @@ deps =
|
||||
PyYAML
|
||||
requests
|
||||
|
||||
[testenv:py33requests]
|
||||
basepython = python3.3
|
||||
[testenv:py34requests]
|
||||
basepython = python3.4
|
||||
deps =
|
||||
mock
|
||||
pytest
|
||||
@@ -110,8 +110,8 @@ deps =
|
||||
PyYAML
|
||||
httplib2
|
||||
|
||||
[testenv:py33httplib2]
|
||||
basepython = python3.3
|
||||
[testenv:py34httplib2]
|
||||
basepython = python3.4
|
||||
deps =
|
||||
mock
|
||||
pytest
|
||||
|
||||
@@ -228,6 +228,7 @@ class VCRConnection:
|
||||
reset()
|
||||
self.real_connection = self._baseclass(*args, **kwargs)
|
||||
install(self.cassette)
|
||||
self.sock = self.real_connection.sock
|
||||
|
||||
|
||||
class VCRHTTPConnection(VCRConnection):
|
||||
|
||||
Reference in New Issue
Block a user