Commit 4eb5f4aa authored by Matias Guijarro's avatar Matias Guijarro Committed by Matias Guijarro
Browse files

fix issue 1781: make a copy of the keyword args dict to prevent removal of items

parent 211a8aa2
......@@ -167,7 +167,7 @@ class CaptureOutput:
def memorize_arguments(func):
@functools.wraps(func)
def wrapped(*args, **kwargs):
self.append(args, kwargs)
self.append(args, dict(kwargs))
return func(*args, **kwargs)
return wrapped
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment