mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
fix decoration when in _handle_function does not return the wrapped function return value
This commit is contained in:
@@ -127,7 +127,7 @@ class CassetteContextDecorator(object):
|
||||
|
||||
def _handle_function(self, function, args, kwargs):
|
||||
with self as cassette:
|
||||
self.__handle_function(cassette, function, args, kwargs)
|
||||
return self.__handle_function(cassette, function, args, kwargs)
|
||||
|
||||
@staticmethod
|
||||
def get_function_name(function):
|
||||
|
||||
Reference in New Issue
Block a user