fix #2675 - store marks correctly in callspecs

This commit is contained in:
Ronny Pfannschmidt
2017-08-10 09:05:22 +02:00
parent 9e62a31b63
commit eb462582af
5 changed files with 18 additions and 13 deletions

View File

@@ -158,7 +158,7 @@ class TestMetafunc(object):
pass
metafunc = self.Metafunc(func)
metafunc.parametrize("y", [])
assert 'skip' in metafunc._calls[0].keywords
assert 'skip' == metafunc._calls[0].marks[0].name
def test_parametrize_with_userobjects(self):
def func(x, y):