From 11b391ff4911c8a0d0a35df3586d3c7e2342ef7a Mon Sep 17 00:00:00 2001 From: Matty G Date: Tue, 17 Oct 2017 14:11:07 -0700 Subject: [PATCH] Update mark.py --- _pytest/mark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/mark.py b/_pytest/mark.py index e4b6238eb..91aa3747e 100644 --- a/_pytest/mark.py +++ b/_pytest/mark.py @@ -383,7 +383,7 @@ def store_mark(obj, mark): """ assert isinstance(mark, Mark), mark # always reassign name to avoid updating pytestmark - # in a referene that was only borrowed + # in a reference that was only borrowed obj.pytestmark = get_unpacked_marks(obj) + [mark]