Update mark.py

This commit is contained in:
Matty G
2017-10-17 14:11:07 -07:00
committed by GitHub
parent 3676da594c
commit 11b391ff49

View File

@@ -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]