mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
pep8
This commit is contained in:
@@ -15,6 +15,6 @@ def serialize(cassette_dict):
|
||||
raise UnicodeDecodeError(
|
||||
"Error serializing cassette to JSON. ",
|
||||
"Does this HTTP interaction contain binary data? ",
|
||||
"If so, use a different serializer (like the yaml serializer) for ",
|
||||
"this request"
|
||||
"If so, use a different serializer (like the yaml serializer) ",
|
||||
"for this request"
|
||||
)
|
||||
|
||||
@@ -6,6 +6,7 @@ try:
|
||||
except ImportError:
|
||||
from yaml import Loader, Dumper
|
||||
|
||||
|
||||
def deserialize(cassette_string):
|
||||
return yaml.load(cassette_string, Loader=Loader)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user