From 9906a19e295a7ce3710970e69a2b3b2f82b006b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= Date: Sat, 25 Jul 2015 15:38:27 +0200 Subject: [PATCH] Issue #751 - fix. --- _pytest/mark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/mark.py b/_pytest/mark.py index c3dc692f0..50581e0a8 100644 --- a/_pytest/mark.py +++ b/_pytest/mark.py @@ -291,7 +291,7 @@ class MarkInfo: #: positional argument list, empty if none specified self.args = args #: keyword argument dictionary, empty if nothing specified - self.kwargs = kwargs + self.kwargs = kwargs.copy() self._arglist = [(args, kwargs.copy())] def __repr__(self):