mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
Resolve needless inheritence from object (Python 3)
This commit is contained in:
@@ -71,7 +71,7 @@ Finally, register your class with VCR to use your new serializer.
|
|||||||
|
|
||||||
import vcr
|
import vcr
|
||||||
|
|
||||||
class BogoSerializer(object):
|
class BogoSerializer:
|
||||||
"""
|
"""
|
||||||
Must implement serialize() and deserialize() methods
|
Must implement serialize() and deserialize() methods
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import vcr
|
|||||||
from vcr.persisters.filesystem import FilesystemPersister
|
from vcr.persisters.filesystem import FilesystemPersister
|
||||||
|
|
||||||
|
|
||||||
class CustomFilesystemPersister(object):
|
class CustomFilesystemPersister:
|
||||||
"""Behaves just like default FilesystemPersister but adds .test extension
|
"""Behaves just like default FilesystemPersister but adds .test extension
|
||||||
to the cassette file"""
|
to the cassette file"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user