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

Automatic formatters supported in Python 2.7+

This commit is contained in:
Hugo
2017-12-07 13:32:08 +02:00
parent 87666ba2e4
commit 6156271c48
9 changed files with 28 additions and 28 deletions

View File

@@ -169,7 +169,7 @@ class CassettePatcherBuilder(object):
bases = (base_class,)
if not issubclass(base_class, object): # Check for old style class
bases += (object,)
return type('{0}{1}'.format(base_class.__name__, self._cassette._path),
return type('{}{}'.format(base_class.__name__, self._cassette._path),
bases, dict(cassette=self._cassette))
@_build_patchers_from_mock_triples_decorator