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

Merge pull request #409 from jxltom/pin-requires-version-for-python34

Pin yarl and multidict version for python34
This commit is contained in:
Luiz Menezes
2018-11-14 09:59:39 -03:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,9 @@ install_requires = [
'six>=1.5',
'contextlib2; python_version=="2.7"',
'mock; python_version=="2.7"',
'yarl; python_version>="3.4"',
'yarl; python_version>"3.4"',
'yarl<1.0.0; python_version=="3.4"',
'multidict<4.0.0,>=2.0; python_version=="3.4"'
]
excluded_packages = ["tests*"]

View File

@@ -25,5 +25,5 @@ def serialize(cassette_dict):
original.end,
original.args[-1] + error_message
)
except TypeError as original: # py3
except TypeError: # py3
raise TypeError(error_message)